mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-30 09:55:47 +01:00
Allow MOW output to stack
This commit is contained in:
@@ -881,6 +881,7 @@ function CommandLine() //{{{
|
|||||||
|
|
||||||
open: function open(prompt, cmd, extendedMode)
|
open: function open(prompt, cmd, extendedMode)
|
||||||
{
|
{
|
||||||
|
liberator.dump("commandline.open: " + (extendedMode && modes.getMode(extendedMode).name));
|
||||||
// save the current prompts, we need it later if the command widget
|
// save the current prompts, we need it later if the command widget
|
||||||
// receives focus without calling the this.open() method
|
// receives focus without calling the this.open() method
|
||||||
currentPrompt = prompt || "";
|
currentPrompt = prompt || "";
|
||||||
@@ -910,6 +911,7 @@ function CommandLine() //{{{
|
|||||||
close: function close()
|
close: function close()
|
||||||
{
|
{
|
||||||
let mode = currentExtendedMode;
|
let mode = currentExtendedMode;
|
||||||
|
liberator.dump("commandline.close: " + (mode && modes.getMode(mode).name));
|
||||||
currentExtendedMode = null;
|
currentExtendedMode = null;
|
||||||
liberator.triggerCallback("cancel", mode);
|
liberator.triggerCallback("cancel", mode);
|
||||||
|
|
||||||
@@ -923,11 +925,13 @@ function CommandLine() //{{{
|
|||||||
liberator.focusContent(false);
|
liberator.focusContent(false);
|
||||||
|
|
||||||
multilineInputWidget.collapsed = true;
|
multilineInputWidget.collapsed = true;
|
||||||
outputContainer.collapsed = true;
|
|
||||||
completionList.hide();
|
completionList.hide();
|
||||||
|
|
||||||
if (!keepCommand || this.silent)
|
if (!keepCommand || this.silent)
|
||||||
|
{
|
||||||
|
outputContainer.collapsed = true;
|
||||||
this.hide();
|
this.hide();
|
||||||
|
}
|
||||||
keepCommand = false;
|
keepCommand = false;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user