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

Multiline output mode isn't a sub-mode of command-line mode. Fixes MOW scrolling issues and makes MOW keys bindable.

This commit is contained in:
Kris Maglione
2010-12-25 14:10:09 -05:00
parent 617a37db1e
commit ce13a4629e
3 changed files with 8 additions and 7 deletions

View File

@@ -82,12 +82,12 @@ const Modes = Module("modes", {
postExecute: function (map) { if (modes.main == modes.QUOTE && map.name === "<C-v>") modes.pop() },
onEvent: function () { if (modes.main == modes.QUOTE) modes.pop() }
});
this.addMode("OUTPUT_MULTILINE");
// this._extended modes, can include multiple modes, and even main modes
this.addMode("EX", true);
this.addMode("HINTS", { count: false, ownsBuffer: true });
this.addMode("INPUT_MULTILINE", true);
this.addMode("OUTPUT_MULTILINE", true);
this.addMode("SEARCH_FORWARD", true);
this.addMode("SEARCH_BACKWARD", true);
this.addMode("MENU", true); // a popupmenu is active