1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-03 09:14:13 +01:00

Revert "Fix bug #189, <tab><cr> now uses first completion"

This reverts commit f18efe4ec792afb65c4bace11073526aef31725e.
This commit is contained in:
Daniel Bainton
2009-03-18 22:39:32 +02:00
parent 79ef0f67eb
commit 855bc5b9fe

View File

@@ -1298,15 +1298,8 @@ function CommandLine() //{{{
// user pressed ENTER to carry out a command
// user pressing ESCAPE is handled in the global onEscape
// FIXME: <Esc> should trigger "cancel" event
// FIXME: This should not be waiting, some kind of callback mechanism on completion would be better.
if (events.isAcceptKey(key))
{
while (completions.context.incomplete)
{
liberator.threadYield(true);
command = this.command;
}
let mode = currentExtendedMode; // save it here, as modes.pop() resets it
keepCommand = true;
currentExtendedMode = null; // Don't let modes.pop trigger "cancel"