mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-29 02:22:26 +01:00
Support multi-character hint modes. Remove bloody fh=2. Closes issue #614.
This commit is contained in:
@@ -305,6 +305,8 @@ var CommandMode = Class("CommandMode", {
|
||||
this.keepCommand = userContext.hidden_option_command_afterimage;
|
||||
},
|
||||
|
||||
get autocomplete() options["autocomplete"].length,
|
||||
|
||||
get command() this.widgets.command[1],
|
||||
set command(val) this.widgets.command = val,
|
||||
|
||||
@@ -1031,7 +1033,7 @@ var CommandLine = Module("commandline", {
|
||||
this.autocompleteTimer = Timer(200, 500, function autocompleteTell(tabPressed) {
|
||||
if (events.feedingKeys && !tabPressed)
|
||||
this.ignoredCount++;
|
||||
else if (options["autocomplete"].length) {
|
||||
else if (this.session.autocomplete) {
|
||||
this.itemList.visible = true;
|
||||
this.complete(true, false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user