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