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

Different 'passunknown' default for now.

--HG--
extra : rebase_source : a717735081e0b6a7e4f9e0254dcd1e6bac0c66c2
This commit is contained in:
Kris Maglione
2011-03-15 10:37:50 -04:00
parent cf0b41a4db
commit efcf07c68b
3 changed files with 4 additions and 3 deletions

View File

@@ -737,7 +737,7 @@ var CommandLine = Module("commandline", {
let single = flags & (this.FORCE_SINGLELINE | this.DISALLOW_MULTILINE);
let action = this._echoLine;
if ((flags & this.FORCE_MULTILINE) || (/\n/.test(data) || !isString(data)) && !(flags & this.FORCE_SINGLELINE))
if ((flags & this.FORCE_MULTILINE) || (/\n/.test(data) || !isinstance(data, [_, "String"])) && !(flags & this.FORCE_SINGLELINE))
action = mow.closure.echo;
if (single)