mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-14 17:35:45 +01:00
Fix double command output for things like :ls|ls
This commit is contained in:
@@ -519,7 +519,10 @@ const CommandLine = Module("commandline", {
|
||||
commandOutput: function (xml) {
|
||||
XML.ignoreWhitespace = false;
|
||||
XML.prettyPrinting = false;
|
||||
this.echo(<>:{this.command}<br/>{xml}</>, this.HIGHLIGHT_NORMAL, this.FORCE_MULTILINE);
|
||||
if (this.command)
|
||||
this.echo(<>:{this.command}</>, this.HIGHLIGHT_NORMAL, this.FORCE_MULTILINE);
|
||||
this.echo(xml, this.HIGHLIGHT_NORMAL, this.FORCE_MULTILINE);
|
||||
this.command = null;
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user