diff --git a/extensions/vscode/package.json b/extensions/vscode/package.json index 06d4a1a77..2ad9dc2a3 100644 --- a/extensions/vscode/package.json +++ b/extensions/vscode/package.json @@ -170,7 +170,8 @@ { "command": "continue.toggleFullScreen", "mac": "cmd+k cmd+m", - "key": "ctrl+k ctrl+m" + "key": "ctrl+k ctrl+m", + "when": "!terminalFocus" } ], "submenus": [ diff --git a/gui/src/components/dialogs/KeyboardShortcuts.tsx b/gui/src/components/dialogs/KeyboardShortcuts.tsx index b7a2ae0d2..243ae2fce 100644 --- a/gui/src/components/dialogs/KeyboardShortcuts.tsx +++ b/gui/src/components/dialogs/KeyboardShortcuts.tsx @@ -110,6 +110,11 @@ const vscodeShortcuts: KeyboardShortcutProps[] = [ windows: "Tab", description: "Toggle between context items", }, + { + mac: "⌘ K ⌘ M", + windows: "⌃ K ⌃ M", + description: "Toggle Full Screen", + }, ]; const jetbrainsShortcuts: KeyboardShortcutProps[] = [ diff --git a/gui/src/pages/gui.tsx b/gui/src/pages/gui.tsx index 620a95e0c..a78da4b6b 100644 --- a/gui/src/pages/gui.tsx +++ b/gui/src/pages/gui.tsx @@ -586,7 +586,7 @@ function GUI(props: GUIProps) { onClick={() => { postToIde("toggleFullScreen", {}); }} - text={`Toggle Full Screen (${getMetaKeyLabel()}K M)`} + text={`Toggle Full Screen (${getMetaKeyLabel()}K ${getMetaKeyLabel()}M)`} > {(window as any).isFullScreen ? (