1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 18:42:27 +01:00

Fix finder.

--HG--
branch : key-processing
This commit is contained in:
Kris Maglione
2011-01-26 10:22:53 -05:00
parent 0da4cca552
commit cbc6a985e6
2 changed files with 3 additions and 3 deletions

View File

@@ -614,7 +614,7 @@ var CommandLine = Module("commandline", {
if (this.widgets.message && this.widgets.message[1] === this._lastClearable)
this.widgets.message = null;
if (modes.main != modes.COMMAND_LINE)
if (!this.commandSession)
this.widgets.command = null;
if (modes.main == modes.OUTPUT_MULTILINE && !mow.isScrollable(1))

View File

@@ -174,13 +174,13 @@ var RangeFinder = Module("rangefinder", {
description: "Forward Find mode, active when typing search input",
bases: [modes.FIND],
input: true
}, { history: "search" });
});
modes.addMode("FIND_BACKWARD", {
extended: true,
description: "Backward Find mode, active when typing search input",
bases: [modes.FIND],
input: true
}, { history: "search" });
});
},
commands: function (dactyl, modules, window) {
const { commands, rangefinder } = modules;