We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e4f146 commit 93dfc3eCopy full SHA for 93dfc3e
src/guiChatConsole.cpp
@@ -550,7 +550,13 @@ bool GUIChatConsole::OnEvent(const SEvent& event)
550
}
551
else if(event.KeyInput.Char != 0 && !event.KeyInput.Control)
552
{
553
- m_chat_backend->getPrompt().input(event.KeyInput.Char);
+ #if (defined(linux) || defined(__linux))
554
+ wchar_t wc = L'_';
555
+ mbtowc( &wc, (char *) &event.KeyInput.Char, sizeof(event.KeyInput.Char) );
556
+ m_chat_backend->getPrompt().input(wc);
557
+ #else
558
+ m_chat_backend->getPrompt().input(event.KeyInput.Char);
559
+ #endif
560
return true;
561
562
0 commit comments