mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 14:22:27 +01:00
Fix finder.
--HG-- branch : key-processing
This commit is contained in:
@@ -614,7 +614,7 @@ var CommandLine = Module("commandline", {
|
|||||||
if (this.widgets.message && this.widgets.message[1] === this._lastClearable)
|
if (this.widgets.message && this.widgets.message[1] === this._lastClearable)
|
||||||
this.widgets.message = null;
|
this.widgets.message = null;
|
||||||
|
|
||||||
if (modes.main != modes.COMMAND_LINE)
|
if (!this.commandSession)
|
||||||
this.widgets.command = null;
|
this.widgets.command = null;
|
||||||
|
|
||||||
if (modes.main == modes.OUTPUT_MULTILINE && !mow.isScrollable(1))
|
if (modes.main == modes.OUTPUT_MULTILINE && !mow.isScrollable(1))
|
||||||
|
|||||||
@@ -174,13 +174,13 @@ var RangeFinder = Module("rangefinder", {
|
|||||||
description: "Forward Find mode, active when typing search input",
|
description: "Forward Find mode, active when typing search input",
|
||||||
bases: [modes.FIND],
|
bases: [modes.FIND],
|
||||||
input: true
|
input: true
|
||||||
}, { history: "search" });
|
});
|
||||||
modes.addMode("FIND_BACKWARD", {
|
modes.addMode("FIND_BACKWARD", {
|
||||||
extended: true,
|
extended: true,
|
||||||
description: "Backward Find mode, active when typing search input",
|
description: "Backward Find mode, active when typing search input",
|
||||||
bases: [modes.FIND],
|
bases: [modes.FIND],
|
||||||
input: true
|
input: true
|
||||||
}, { history: "search" });
|
});
|
||||||
},
|
},
|
||||||
commands: function (dactyl, modules, window) {
|
commands: function (dactyl, modules, window) {
|
||||||
const { commands, rangefinder } = modules;
|
const { commands, rangefinder } = modules;
|
||||||
|
|||||||
Reference in New Issue
Block a user