mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-24 21:35:21 +02:00
Fix shift key producing space in console (#5777)
* Fix shift key producing space in console
This commit is contained in:
@@ -628,7 +628,7 @@ bool GUIChatConsole::OnEvent(const SEvent& event)
|
|||||||
prompt.nickCompletion(names, backwards);
|
prompt.nickCompletion(names, backwards);
|
||||||
return true;
|
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)
|
#if defined(__linux__) && (IRRLICHT_VERSION_MAJOR == 1 && IRRLICHT_VERSION_MINOR < 9)
|
||||||
wchar_t wc = L'_';
|
wchar_t wc = L'_';
|
||||||
|
|||||||
Reference in New Issue
Block a user