diff --git a/common/content/commandline.js b/common/content/commandline.js index 5af44809..5d6acfdb 100644 --- a/common/content/commandline.js +++ b/common/content/commandline.js @@ -349,7 +349,7 @@ const CommandLine = Module("commandline", { dactyl.triggerObserver("echoLine", str, highlightGroup, forceSingle); if (!this.commandVisible) - commandline.hide(); + this.hide(); let field = this.widgets.active.message.inputField; if (!forceSingle && field.editor.rootElement.scrollWidth > field.scrollWidth) @@ -367,6 +367,9 @@ const CommandLine = Module("commandline", { let doc = this.widgets.multilineOutput.contentDocument; let win = this.widgets.multilineOutput.contentWindow; + if (!this.commandVisible) + this.hide(); + dactyl.triggerObserver("echoMultiline", str, highlightGroup); // If it's already XML, assume it knows what it's doing.