mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-16 21:53:31 +01:00
Make commandline.echo white-space: nowrap by default.
This commit is contained in:
@@ -367,6 +367,7 @@ function IO() //{{{
|
|||||||
let output = io.system(args);
|
let output = io.system(args);
|
||||||
let command = ":" + util.escapeHTML(commandline.getCommand()) + "<br/>";
|
let command = ":" + util.escapeHTML(commandline.getCommand()) + "<br/>";
|
||||||
|
|
||||||
|
liberator.echo(template.generic(<span style="white-space: pre">{output}</span>))
|
||||||
liberator.echo(command + util.escapeHTML(output));
|
liberator.echo(command + util.escapeHTML(output));
|
||||||
|
|
||||||
autocommands.trigger("ShellCmdPost", {});
|
autocommands.trigger("ShellCmdPost", {});
|
||||||
|
|||||||
@@ -376,7 +376,7 @@ function CommandLine() //{{{
|
|||||||
* after interpolated data.
|
* after interpolated data.
|
||||||
*/
|
*/
|
||||||
XML.ignoreWhitespace = typeof str != "xml";
|
XML.ignoreWhitespace = typeof str != "xml";
|
||||||
let output = util.xmlToDom(<div class={"ex-command-output "} highlight={highlightGroup}>{template.maybeXML(str)}</div>, doc);
|
let output = util.xmlToDom(<div class={"ex-command-output "} style="white-space: nowrap" highlight={highlightGroup}>{template.maybeXML(str)}</div>, doc);
|
||||||
XML.ignoreWhitespace = true;
|
XML.ignoreWhitespace = true;
|
||||||
|
|
||||||
lastMowOutput = output;
|
lastMowOutput = output;
|
||||||
|
|||||||
Reference in New Issue
Block a user