mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 20:11:44 +00:00
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:
parent
3369344387
commit
1765f15059
1 changed files with 2 additions and 0 deletions
|
@ -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 == '/')
|
||||
|
|
Loading…
Reference in a new issue