diff --git a/content/completion.js b/content/completion.js index 5e7674bf..71f76e93 100644 --- a/content/completion.js +++ b/content/completion.js @@ -1130,7 +1130,6 @@ function Completion() //{{{ { template.completionRow(context.title, "CompTitle") } { template.map(context.items, function (item) context.createRow(item), null, 100) } ); - commandline.clear(); commandline.echo(list, commandline.HL_NORMAL, commandline.FORCE_MULTILINE); }, diff --git a/content/ui.js b/content/ui.js index be0eb165..94c483ba 100644 --- a/content/ui.js +++ b/content/ui.js @@ -369,7 +369,7 @@ function CommandLine() //{{{ * after interpolated data. */ XML.ignoreWhitespace = typeof str == "xml"; - let output = util.xmlToDom(
{template.maybeXML(str)}
, doc); + let output = util.xmlToDom(
{template.maybeXML(str)}
, doc); XML.ignoreWhitespace = true; lastMowOutput = output; @@ -753,11 +753,11 @@ function CommandLine() //{{{ liberator.callInMainThread(function () { let where = setLine; - if (flags & this.FORCE_MULTILINE) + if (flags & commandline.FORCE_MULTILINE) where = setMultiline; - else if (flags & this.FORCE_SINGLELINE) + else if (flags & commandline.FORCE_SINGLELINE) where = function () setLine(str, highlightGroup, true); - else if (flags & this.DISALLOW_MULTILINE) + else if (flags & commandline.DISALLOW_MULTILINE) { if (!outputContainer.collapsed) where = null;