Soul-driven AI agent with permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI, Telegram or More.
refactor: remove manual exit handler, update view toggle shortcut to ctrl+v, and hide streaming status indicator
Salman Qureshi377e061cabe3
diff --git a/src/ui/App.tsx b/src/ui/App.tsxindex 416dca12..c74f554e 100644--- a/src/ui/App.tsx+++ b/src/ui/App.tsx@@ -172,11 +172,6 @@ export function TuiApp({ state, onInput, onPermissionResolve, onExit, spotifyCliuseInput((ch, key) => {const keyChar = (ch || (key as any)?.name || '').toLowerCase();- if (ch === '\u0003' || (key.ctrl && ((key as any).name === 'c' || ch?.toLowerCase?.() === 'c'))) {- onExit();- return;- }-if (state.mode === 'splash') {if (ch === 'd' || ch === 'D') {setShowStartupDetails((v) => !v);@@ -339,7 +334,7 @@ export function TuiApp({ state, onInput, onPermissionResolve, onExit, spotifyCliif (state.mode === 'splash') return;- if ((ch === 'v' || ch === 'V') && !state.permissionPrompt && input.length === 0) {+ if (key.ctrl && (ch === 'v' || ch === 'V') && !state.permissionPrompt) {onInput('/view toggle');return;}@@ -784,7 +779,6 @@ function ChatMessagesView({ messages, agentName }: { messages: ChatMessage[]; ag<Box key={msg.id} flexDirection="column" marginBottom={1}><Box><Text bold color={roleColor}>{prefix}:</Text>- {msg.streaming && <Text dimColor> (streaming...)</Text>}</Box><Box marginLeft={2} flexDirection="column"><Text>{rendered}</Text>