prompt.nickCompletion(names, backwards);
return true;
}
- else if(event.KeyInput.Char != 0 && !event.KeyInput.Control)
+ else if(isprint(event.KeyInput.Char) && !event.KeyInput.Control)
{
#if defined(__linux__) && (IRRLICHT_VERSION_MAJOR == 1 && IRRLICHT_VERSION_MINOR < 9)
wchar_t wc = L'_';