mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-25 09:13:33 +01:00
Silently pop the mode stack on command accept.
This commit is contained in:
@@ -611,9 +611,9 @@ liberator.CommandLine = function () //{{{
|
|||||||
if (liberator.events.isAcceptKey(key))
|
if (liberator.events.isAcceptKey(key))
|
||||||
{
|
{
|
||||||
var mode = currentExtendedMode; // save it here, as setMode() resets it
|
var mode = currentExtendedMode; // save it here, as setMode() resets it
|
||||||
currentExtendedMode = null;
|
currentExtendedMode = null; /* Don't let modes.pop trigger "cancel" */
|
||||||
history.add(command);
|
history.add(command);
|
||||||
liberator.modes.pop();
|
liberator.modes.pop(true);
|
||||||
completionlist.hide();
|
completionlist.hide();
|
||||||
liberator.focusContent(false);
|
liberator.focusContent(false);
|
||||||
liberator.statusline.updateProgress(""); // we may have a "match x of y" visible
|
liberator.statusline.updateProgress(""); // we may have a "match x of y" visible
|
||||||
|
|||||||
Reference in New Issue
Block a user