mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-26 21:03:27 +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 */
|
/* Handle input */
|
||||||
#ifdef HAVE_WIDECHAR
|
#ifdef HAVE_WIDECHAR
|
||||||
wget_wch(a->window, &ch);
|
wget_wch(stdscr, &ch);
|
||||||
#else
|
#else
|
||||||
ch = getch();
|
ch = getch();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user