1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-02 20:44:12 +01:00

Disable the command after-image by default. It feels like a bug with command-line auto-hiding.

This commit is contained in:
Kris Maglione
2010-09-28 14:10:29 -04:00
parent afc2eac676
commit 84ae493dfb

View File

@@ -770,7 +770,7 @@ const CommandLine = Module("commandline", {
// FIXME: <Esc> should trigger "cancel" event
if (events.isAcceptKey(key)) {
let mode = this._currentExtendedMode; // save it here, as modes.pop() resets it
this._keepCommand = !userContext.hidden_option_no_command_afterimage;
this._keepCommand = !userContext.hidden_option_command_afterimage;
this._currentExtendedMode = null; // Don't let modes.pop trigger "cancel"
modes.pop();
commandline.triggerCallback("submit", mode, command);