diff --git a/common/content/commandline.js b/common/content/commandline.js index ce9148b0..9c901c4c 100644 --- a/common/content/commandline.js +++ b/common/content/commandline.js @@ -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) diff --git a/common/content/editor.js b/common/content/editor.js index 4bb8cfca..ae88a8f9 100644 --- a/common/content/editor.js +++ b/common/content/editor.js @@ -656,7 +656,8 @@ var Editor = Module("editor", { // Ugh. mappings.add([modes.INPUT, modes.CARET], ["<*-CR>", "<*-BS>", "<*-Del>", "<*-Left>", "<*-Right>", "<*-Up>", "<*-Down>", - "<*-Home>", "<*-End>", "<*-PageUp>", "<*-PageDown>"], + "<*-Home>", "<*-End>", "<*-PageUp>", "<*-PageDown>", + "", ""], "Handled by " + config.host, function () Events.PASS); diff --git a/common/content/modes.js b/common/content/modes.js index fba6cd96..19f1602d 100644 --- a/common/content/modes.js +++ b/common/content/modes.js @@ -554,7 +554,7 @@ var Modes = Module("modes", { options: function initOptions() { options.add(["passunknown"], "Pass through unknown keys in these modes", - "stringlist", "", + "stringlist", "!text_edit,!input,base", { completer: function completer(context, extra) { if (extra.value && context.filter[0] == "!")