This thread is responsible for posting wget_wch() calls. More...
Classes | |
class | fatal_input_error |
class | fatal_input_exception |
class | get_input_event |
Public Member Functions | |
void | operator() () |
Static Public Member Functions | |
static void | start () |
static void | stop () |
This thread is responsible for posting wget_wch() calls.
Note that the actual call to wget_wch must take place in the foreground thread, because wget_wch will invoke wrefresh(). So instead of calling it in the background thread, I post input events to the foreground thread.
To prevent the background thread from spamming the foreground thread with events, I suspend it until the event actually triggers.