summaryrefslogtreecommitdiff
path: root/common/content/commandline.js
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2010-10-15 14:10:06 -0400
committerKris Maglione <maglione.k@gmail.com>2010-10-15 14:10:06 -0400
commitc683abc2810889807836975f75c2eb1917e0eab5 (patch)
tree2c5ff8c8c39eb4662b6db394e4f89d0621a190e5 /common/content/commandline.js
parent81aa34c4189f13d7bdf2e5752635b3c557b8e146 (diff)
downloadpentadactyl-c683abc2810889807836975f75c2eb1917e0eab5.tar.gz
Fix a bug in replacing user commands. Closes issue #88.
--HG-- extra : rebase_source : 3d5045b548a81ec70e43ab1e3d006a975f95b974
Diffstat (limited to 'common/content/commandline.js')
-rw-r--r--common/content/commandline.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/content/commandline.js b/common/content/commandline.js
index 1bfbcfb9..cff4a08a 100644
--- a/common/content/commandline.js
+++ b/common/content/commandline.js
@@ -663,7 +663,8 @@ const CommandLine = Module("commandline", {
this._echoMultiline(<span highlight="Message">{this._lastEcho}</span>,
this.widgets.message[0], true);
- if (action === this._echoLine && !(flags & this.FORCE_MULTILINE) && !this.widgets.mowContainer.collapsed) {
+ if (action === this._echoLine && !(flags & this.FORCE_MULTILINE)
+ && !(dactyl.fullyInitialized && this.widgets.mowContainer.collapsed)) {
highlightGroup += " Message";
action = this._echoMultiline;
}