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
This commit is contained in:
Taylor Mullen
2025-05-20 22:45:10 -07:00
committed by N. Taylor Mullen
parent 02ab0c234c
commit 872f308536
2 changed files with 5 additions and 1 deletions

View File

@@ -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>
);