mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-23 08:33:01 +01:00
Fix for the "bad character" when doing backspace in chat window
Backspace was printing 'ć' instead of actually backspacing in a chat window when widechar support was enabled.
This commit is contained in:
parent
1bcd2e863a
commit
ad1c9f0cae
@ -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