mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-28 14:02:36 +01:00
Show function prototype in :js completion even when waiting on key press.
This commit is contained in:
@@ -592,8 +592,10 @@ var JavaScript = Module("javascript", {
|
||||
|
||||
// Wait for a keypress before completing when there's no key
|
||||
if (!this.context.tabPressed && key == "" && obj.length > 1) {
|
||||
let message = this.context.message || "";
|
||||
this.context.waitingForTab = true;
|
||||
this.context.message = _("completion.waitingForKeyPress");
|
||||
this.context.message = <>{message}
|
||||
{_("completion.waitingForKeyPress")}</>;
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user