fix: input keyboard shortcuts (#676)

Fixes keyboard shortcuts:
- ctrl+a/e
- opt+arrow keys
This commit is contained in:
Fouad Matin
2025-04-25 16:58:09 -07:00
committed by GitHub
parent f3ee933a74
commit 3f4762d969
4 changed files with 66 additions and 21 deletions

View File

@@ -106,11 +106,16 @@ export default function TerminalChatInputThinking({
return (
<Box flexDirection="column" gap={1}>
<Box gap={2}>
<Text>{frameWithSeconds}</Text>
<Box justifyContent="space-between">
<Box gap={2}>
<Text>{frameWithSeconds}</Text>
<Text>
Thinking
{dots}
</Text>
</Box>
<Text>
Thinking
{dots}
Press <Text bold>Esc</Text> twice to interrupt
</Text>
</Box>
{awaitingConfirm && (