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

Fix some quirks

This commit is contained in:
Kris Maglione
2008-12-16 12:02:51 -05:00
parent c4e6a3850d
commit b0a9411512
2 changed files with 3 additions and 2 deletions

View File

@@ -158,7 +158,7 @@ const modes = (function () //{{{
if (!options["showmode"]) if (!options["showmode"])
return; return;
commandline.echo(getModeMessage(), "ModeMsg", commandline.DISALLOW_MULTILINE); commandline.echo(getModeMessage(), "ModeMsg", commandline.FORCE_SINGLELINE);
}, },
// add/remove always work on the extended mode only // add/remove always work on the extended mode only

View File

@@ -999,7 +999,8 @@ function CommandLine() //{{{
let single = flags & (this.FORCE_SINGLELINE | this.DISALLOW_MULTILINE); let single = flags & (this.FORCE_SINGLELINE | this.DISALLOW_MULTILINE);
let action = echoLine; let action = echoLine;
if (!outputContainer.collapsed || messageBox.value == lastEcho)
if (!single && (!outputContainer.collapsed || messageBox.value == lastEcho))
action = echoMultiline; action = echoMultiline;
if ((flags & this.FORCE_MULTILINE) || (/\n/.test(str) || typeof str == "xml") && !(flags & this.FORCE_SINGLELINE)) if ((flags & this.FORCE_MULTILINE) || (/\n/.test(str) || typeof str == "xml") && !(flags & this.FORCE_SINGLELINE))