mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-23 01:23:03 +01:00
Merge pull request #17 from manuel-arguelles/fix_blocking
Fix blocking while waiting for key
This commit is contained in:
commit
7a106c1104
@ -236,7 +236,7 @@ void draw_active_window(Tox *m)
|
||||
|
||||
/* Handle input */
|
||||
#ifdef HAVE_WIDECHAR
|
||||
wget_wch(a->window, &ch);
|
||||
wget_wch(stdscr, &ch);
|
||||
#else
|
||||
ch = getch();
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user