1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-30 19:22:28 +01:00

Make commandline.echo white-space: nowrap by default.

This commit is contained in:
Kris Maglione
2008-12-02 17:54:12 -05:00
parent 5e8138b97d
commit 5fefadb345
2 changed files with 2 additions and 1 deletions

View File

@@ -367,6 +367,7 @@ function IO() //{{{
let output = io.system(args);
let command = ":" + util.escapeHTML(commandline.getCommand()) + "<br/>";
liberator.echo(template.generic(<span style="white-space: pre">{output}</span>))
liberator.echo(command + util.escapeHTML(output));
autocommands.trigger("ShellCmdPost", {});

View File

@@ -376,7 +376,7 @@ function CommandLine() //{{{
* after interpolated data.
*/
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;
lastMowOutput = output;