mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-04 02:35:45 +01:00
Disable the command after-image by default. It feels like a bug with command-line auto-hiding.
This commit is contained in:
@@ -770,7 +770,7 @@ const CommandLine = Module("commandline", {
|
|||||||
// FIXME: <Esc> should trigger "cancel" event
|
// FIXME: <Esc> should trigger "cancel" event
|
||||||
if (events.isAcceptKey(key)) {
|
if (events.isAcceptKey(key)) {
|
||||||
let mode = this._currentExtendedMode; // save it here, as modes.pop() resets it
|
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"
|
this._currentExtendedMode = null; // Don't let modes.pop trigger "cancel"
|
||||||
modes.pop();
|
modes.pop();
|
||||||
commandline.triggerCallback("submit", mode, command);
|
commandline.triggerCallback("submit", mode, command);
|
||||||
|
|||||||
Reference in New Issue
Block a user