mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 09:17:59 +01:00
Fix MOW getting stuck open in odd circumatances (:ls<CR>:js<CR>)
This commit is contained in:
@@ -560,7 +560,6 @@ function CommandLine() //{{{
|
||||
// TODO: resize upon a window resize
|
||||
function echoMultiline(str, highlightGroup)
|
||||
{
|
||||
//outputContainer.collapsed = true;
|
||||
let doc = multilineOutputWidget.contentDocument;
|
||||
let win = multilineOutputWidget.contentWindow;
|
||||
|
||||
@@ -946,6 +945,13 @@ function CommandLine() //{{{
|
||||
outputContainer.collapsed = true;
|
||||
this.hide();
|
||||
}
|
||||
if (!outputContainer.collapsed)
|
||||
{
|
||||
setTimeout(function () {
|
||||
modes.set(modes.COMMAND_LINE, modes.OUTPUT_MULTILINE);
|
||||
commandline.updateMorePrompt();
|
||||
}, 0);
|
||||
}
|
||||
keepCommand = false;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user