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:
@@ -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
|
||||||
|
|||||||
@@ -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))
|
||||||
|
|||||||
Reference in New Issue
Block a user