mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-23 06:43:03 +01:00
Merge pull request #12 from jin-eld/fix-widechar-backspace
Fix for the "bad character" when doing backspace in chat window
This commit is contained in:
commit
f7bef61252
@ -242,7 +242,7 @@ void draw_active_window(Tox *m)
|
|||||||
|
|
||||||
/* Handle input */
|
/* Handle input */
|
||||||
#ifdef HAVE_WIDECHAR
|
#ifdef HAVE_WIDECHAR
|
||||||
get_wch(&ch);
|
wget_wch(a->window, &ch);
|
||||||
#else
|
#else
|
||||||
ch = getch();
|
ch = getch();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user