mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 09:08:10 +01:00
Fix commandline.input
This commit is contained in:
@@ -995,6 +995,7 @@ function CommandLine() //{{{
|
|||||||
|
|
||||||
setPrompt(prompt, extra.promptHighlight || this.HL_QUESTION);
|
setPrompt(prompt, extra.promptHighlight || this.HL_QUESTION);
|
||||||
setCommand(extra.default || "");
|
setCommand(extra.default || "");
|
||||||
|
commandlineWidget.collapsed = false;
|
||||||
commandWidget.focus();
|
commandWidget.focus();
|
||||||
|
|
||||||
completions = Completions(commandWidget.inputField);
|
completions = Completions(commandWidget.inputField);
|
||||||
@@ -1383,7 +1384,8 @@ function CommandLine() //{{{
|
|||||||
completions.context.reset();
|
completions.context.reset();
|
||||||
// Needed?
|
// Needed?
|
||||||
//completions.reset();
|
//completions.reset();
|
||||||
history.reset();
|
if (history)
|
||||||
|
history.reset();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
//}}}
|
//}}}
|
||||||
|
|||||||
Reference in New Issue
Block a user