1
0
Fork 0

Modify chat key handler, so excessive backspaces doesn't enable the autopilot.

This commit is contained in:
Stuart Buchanan 2010-09-27 21:13:30 +01:00
parent 5edf6cae9b
commit 7ee83e19df

View file

@ -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)
{