diff --git a/content/ui.js b/content/ui.js index 915046e7..91f747f9 100644 --- a/content/ui.js +++ b/content/ui.js @@ -649,12 +649,12 @@ function CommandLine() //{{{ where = setMultiline; else if (flags & this.FORCE_SINGLELINE) where = function () setLine(str, highlightGroup, true); - else if (!outputContainer.collapsed) + else if (flags & this.DISALLOW_MULTILINE) { - if (flags & this.DISALLOW_MULTILINE) + if (!outputContainer.collapsed) where = null; else - where = setMultiline; + where = function () setLine(str, highlightGroup, true); } else if (/\n|/.test(str)) where = setMultiline;