Alt+tab was randomly registering as tab presses - explicitly ignore tab at the start of the input line so we don't end up with walls of console completion suggestions.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6328 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2023-01-09 05:13:45 +00:00
parent 3369344387
commit 1765f15059
1 changed files with 2 additions and 0 deletions

View File

@ -504,6 +504,8 @@ void CompleteCommand (qboolean force, int direction)
cmd_completion_t *c;
s = key_lines[edit_line];
if (!*s)
return;
if (*s == ' ' || *s == '\t')
s++;
if (*s == '\\' || *s == '/')