mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 12:27:58 +01:00
Import minor changes from groups branch.
This commit is contained in:
@@ -352,8 +352,8 @@ var CommandMode = Class("CommandMode", {
|
||||
if (this.history)
|
||||
this.history.save();
|
||||
|
||||
commandline.hideCompletions();
|
||||
this.resetCompletions();
|
||||
commandline.hideCompletions();
|
||||
|
||||
modes.delay(function () {
|
||||
if (!this.keepCommand || commandline.silent || commandline.quiet)
|
||||
@@ -504,11 +504,6 @@ var CommandLine = Module("commandline", {
|
||||
}, message));
|
||||
}
|
||||
}; //}}}
|
||||
|
||||
this._silent = false;
|
||||
this._quiet = false;
|
||||
this._lastEcho = null;
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
@@ -546,12 +541,14 @@ var CommandLine = Module("commandline", {
|
||||
|
||||
get completionContext() this._completions.context,
|
||||
|
||||
_silent: false,
|
||||
get silent() this._silent,
|
||||
set silent(val) {
|
||||
this._silent = val;
|
||||
this.quiet = this.quiet;
|
||||
},
|
||||
|
||||
_quite: false,
|
||||
get quiet() this._quiet,
|
||||
set quiet(val) {
|
||||
this._quiet = val;
|
||||
@@ -665,6 +662,8 @@ var CommandLine = Module("commandline", {
|
||||
}
|
||||
},
|
||||
|
||||
_lastEcho: null,
|
||||
|
||||
/**
|
||||
* Output the given string onto the command line. With no flags, the
|
||||
* message will be shown in the status line if it's short enough to
|
||||
|
||||
Reference in New Issue
Block a user