We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00972d4 commit 605599bCopy full SHA for 605599b
src/guiChatConsole.cpp
@@ -628,7 +628,7 @@ bool GUIChatConsole::OnEvent(const SEvent& event)
628
prompt.nickCompletion(names, backwards);
629
return true;
630
}
631
- else if(event.KeyInput.Char != 0 && !event.KeyInput.Control)
+ else if(isprint(event.KeyInput.Char) && !event.KeyInput.Control)
632
{
633
#if defined(__linux__) && (IRRLICHT_VERSION_MAJOR == 1 && IRRLICHT_VERSION_MINOR < 9)
634
wchar_t wc = L'_';
0 commit comments