mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 23:37:58 +01:00
Fix listing output visual bug.
This commit is contained in:
@@ -1130,7 +1130,6 @@ function Completion() //{{{
|
||||
{ template.completionRow(context.title, "CompTitle") }
|
||||
{ template.map(context.items, function (item) context.createRow(item), null, 100) }
|
||||
</div>);
|
||||
commandline.clear();
|
||||
commandline.echo(list, commandline.HL_NORMAL, commandline.FORCE_MULTILINE);
|
||||
},
|
||||
|
||||
|
||||
@@ -369,7 +369,7 @@ function CommandLine() //{{{
|
||||
* after interpolated data.
|
||||
*/
|
||||
XML.ignoreWhitespace = typeof str == "xml";
|
||||
let output = util.xmlToDom(<div class={"ex-command-output " + highlightGroup}>{template.maybeXML(str)}</div>, doc);
|
||||
let output = util.xmlToDom(<div class={"ex-command-output "} highlight={highlightGroup}>{template.maybeXML(str)}</div>, 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;
|
||||
|
||||
Reference in New Issue
Block a user