Skip to content

Commit e059eef

Browse files
committed
refactor(keybindings): refine condition for maximizing panel to include terminal focus
1 parent 51ebcfc commit e059eef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/vscode/Application Support/keybindings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@
347347
{
348348
"key": "cmd+enter",
349349
"command": "workbench.action.toggleMaximizedPanel",
350-
"when": "panelAlignment == 'center' || panelPosition != 'bottom' && panelPosition != 'top'"
350+
"when": "terminalFocus && (panelAlignment == 'center' || panelPosition != 'bottom' && panelPosition != 'top')"
351351
},
352352
{
353353
"key": "shift+cmd+y",

0 commit comments

Comments
 (0)