summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/components/ShellModeIndicator.tsx
diff options
context:
space:
mode:
authorTaylor Mullen <[email protected]>2025-05-20 22:45:10 -0700
committerN. Taylor Mullen <[email protected]>2025-05-20 22:47:11 -0700
commit872f308536dc2d0a7d654fc548f1a92005dd4d8e (patch)
tree2f7c5ef362c37fa9096b8e53e9d828416c161973 /packages/cli/src/ui/components/ShellModeIndicator.tsx
parent02ab0c234cc8c430bfb1c24f810cd410133a3297 (diff)
feat: Allow Esc to exit shell mode
- Update InputPrompt.tsx to handle Esc key for exiting shell mode. - Modify ShellModeIndicator.tsx to reflect the new keybinding. Fixes https://buganizer.corp.google.com/issues/419087952
Diffstat (limited to 'packages/cli/src/ui/components/ShellModeIndicator.tsx')
-rw-r--r--packages/cli/src/ui/components/ShellModeIndicator.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/cli/src/ui/components/ShellModeIndicator.tsx b/packages/cli/src/ui/components/ShellModeIndicator.tsx
index e4147035..612af1a6 100644
--- a/packages/cli/src/ui/components/ShellModeIndicator.tsx
+++ b/packages/cli/src/ui/components/ShellModeIndicator.tsx
@@ -12,7 +12,7 @@ export const ShellModeIndicator: React.FC = () => (
<Box>
<Text color={Colors.AccentYellow}>
shell mode enabled
- <Text color={Colors.SubtleComment}> (! to toggle)</Text>
+ <Text color={Colors.SubtleComment}> (esc to disable)</Text>
</Text>
</Box>
);