mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-01 09:42:28 +01:00
Dont allow <holding-tab> to lag
This commit is contained in:
@@ -1095,8 +1095,7 @@ function CommandLine() //{{{
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
|
||||
// tabTimer.tell(event);
|
||||
completions.tab(event.shiftKey);
|
||||
tabTimer.tell(event);
|
||||
return false;
|
||||
}
|
||||
else if (key == "<BS>")
|
||||
@@ -1118,6 +1117,11 @@ function CommandLine() //{{{
|
||||
}
|
||||
return true; // allow this event to be handled by Firefox
|
||||
}
|
||||
else if (event.type == "keyup")
|
||||
{
|
||||
if (key == "<Tab>" || key == "<S-Tab>")
|
||||
tabTimer.flush();
|
||||
}
|
||||
},
|
||||
|
||||
onMultilineInputEvent: function onMultilineInputEvent(event)
|
||||
|
||||
Reference in New Issue
Block a user