The timeout() for input is set on main window (stdscr), since it seems
that for some ncurses implementations get_wch and getch are the same
(non widechar) wget_wch is used instead. The window passed must the
the main one, the others doesn't have the timeout settings. Another
option is to set wtimeout() on every window.
Limitations:
currently the tox core library does not ship proper public headers,
so we'll have to tell the configure script where the headers are (i.e.
directory in the ProjectTox-Core source tree.
Since these headers are not really public, they include sodium.h, so
right now the toxic configure script will check for sodium.h as well.
We also need to look for the libsodium library for linking vs Tox core.