Skip to content

Commit aa7c704

Browse files
juliusmarmingecodex
andcommitted
fix(web): restore terminal toggle shortcut label
Co-authored-by: codex <[email protected]>
1 parent 24b7b8c commit aa7c704

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apps/web/src/components/ChatView.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,6 +1119,10 @@ export default function ChatView({ threadId }: ChatViewProps) {
11191119
}, [activeProjectCwd, activeThreadWorktreePath]);
11201120
// Default true while loading to avoid toolbar flicker.
11211121
const isGitRepo = branchesQuery.data?.isRepo ?? true;
1122+
const terminalToggleShortcutLabel = useMemo(
1123+
() => shortcutLabelForCommand(keybindings, "terminal.toggle"),
1124+
[keybindings],
1125+
);
11221126
const splitTerminalShortcutLabel = useMemo(
11231127
() => shortcutLabelForCommand(keybindings, "terminal.split"),
11241128
[keybindings],

0 commit comments

Comments
 (0)