fix tty converting everything to lowercase

This commit is contained in:
Alug committed 2024-10-12 23:21:11 +02:00
1 parent 70ebd0d475
commit 081dcc021b
2 files changed
-5

No files matched your search

-1
View File
@@ -898,7 +898,6 @@ boolean CON_Responder(event_t *ev)
// show all cvars/commands that match what we have inputted
if (key == KEY_TAB)
{
if (!completion[0])
{
if (!input.length || input.length >= 40 || strchr(input.buffer, ' '))
-4
View File
@@ -295,10 +295,6 @@ boolean M_TextInputHandle(textinput_t *input, INT32 key)
if (key < 32 || key > 127)
return false;
// add key to cmd line here
if (key >= 'A' && key <= 'Z' && !(shiftdown ^ capslock)) //this is only really necessary for dedicated servers
key = key + 'a' - 'A';
if (input->select != input->cursor)
M_TextInputDelSelection(input);
M_TextInputAddChar(input, key);