1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-12-23 12:23:26 +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:
Sergey 'Jin' Bostandzhyan 2013-08-26 17:03:04 +03:00
parent 1bcd2e863a
commit ad1c9f0cae

View File

@ -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