mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 15:07:57 +01:00
Fix prompt (namely hint mode) completions.
This commit is contained in:
@@ -434,9 +434,9 @@ var CommandPromptMode = Class("CommandPromptMode", CommandMode, {
|
||||
init.supercall(this);
|
||||
},
|
||||
|
||||
complete: function () {
|
||||
complete: function (context) {
|
||||
if (this.completer)
|
||||
return this.completer.apply(this, arguments);
|
||||
context.forkapply("prompt", 0, this, "completer", Array.slice(arguments, 1));
|
||||
},
|
||||
|
||||
get mode() modes.PROMPT
|
||||
|
||||
Reference in New Issue
Block a user