mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 06:07:59 +01:00
Fix beeping after every command when command after-image isn't disabled.
This commit is contained in:
@@ -555,12 +555,12 @@ const CommandLine = Module("commandline", {
|
||||
},
|
||||
|
||||
get command() {
|
||||
if (this.widgets.command)
|
||||
if (this.commandVisible && this.widgets.command)
|
||||
return this._lastCommand = this.widgets.command[1];
|
||||
return this._lastCommand;
|
||||
},
|
||||
set command(val) {
|
||||
if (this.widgets.command)
|
||||
if (this.commandVisible)
|
||||
return this.widgets.command = val;
|
||||
return this._lastCommand = val;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user