mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 13:42:27 +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
|
// TODO: resize upon a window resize
|
||||||
function echoMultiline(str, highlightGroup)
|
function echoMultiline(str, highlightGroup)
|
||||||
{
|
{
|
||||||
//outputContainer.collapsed = true;
|
|
||||||
let doc = multilineOutputWidget.contentDocument;
|
let doc = multilineOutputWidget.contentDocument;
|
||||||
let win = multilineOutputWidget.contentWindow;
|
let win = multilineOutputWidget.contentWindow;
|
||||||
|
|
||||||
@@ -946,6 +945,13 @@ function CommandLine() //{{{
|
|||||||
outputContainer.collapsed = true;
|
outputContainer.collapsed = true;
|
||||||
this.hide();
|
this.hide();
|
||||||
}
|
}
|
||||||
|
if (!outputContainer.collapsed)
|
||||||
|
{
|
||||||
|
setTimeout(function () {
|
||||||
|
modes.set(modes.COMMAND_LINE, modes.OUTPUT_MULTILINE);
|
||||||
|
commandline.updateMorePrompt();
|
||||||
|
}, 0);
|
||||||
|
}
|
||||||
keepCommand = false;
|
keepCommand = false;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user