mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
Expose command for maximizing console
This commit is contained in:
parent
f4e8b6de1f
commit
d7a8ea3543
@ -56,6 +56,19 @@ define(function(require, module, exports) {
|
||||
}
|
||||
}, plugin);
|
||||
|
||||
commands.addCommand({
|
||||
name: "maximizeconsole",
|
||||
group: "Panels",
|
||||
exec: function(editor, args) {
|
||||
if (!maximized) {
|
||||
maximizeConsoleHeight();
|
||||
}
|
||||
else {
|
||||
restoreConsoleHeight();
|
||||
}
|
||||
}
|
||||
}, plugin);
|
||||
|
||||
// Menus
|
||||
menus.addItemByPath("View/Console", new apf.item({
|
||||
type: "check",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user