Modify chat key handler, so excessive backspaces doesn't enable the autopilot.
This commit is contained in:
parent
5edf6cae9b
commit
7ee83e19df
1 changed files with 3 additions and 1 deletions
|
@ -125,8 +125,10 @@ var handle_key = func(key)
|
|||
{
|
||||
input = substr(input, 0, size(input) - 1);
|
||||
gui.popupTip(input, 1000000);
|
||||
return 1;
|
||||
}
|
||||
|
||||
# Always handle key so excessive backspacing doesn't toggle the heading autopilot
|
||||
return 1;
|
||||
}
|
||||
elsif (key == 27)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue