Skip to content

Commit 94fe0e7

Browse files
committed
refactor(tui): improve overlay visuals and working state feedback
1 parent ff8e390 commit 94fe0e7

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

src/tui/App.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export function App({ agent }: AppProps) {
198198
followOutput();
199199
}}
200200
>
201-
<Box key="header" flexDirection="column" gap={1}>
201+
<Box key="header" flexDirection="column" paddingTop={1} gap={1}>
202202
<Banner />
203203
{showIntro && <IntroMessage />}
204204
</Box>
@@ -221,7 +221,10 @@ export function App({ agent }: AppProps) {
221221
<Box paddingX={1}>
222222
<Box flexGrow={1}>
223223
{working ? (
224-
<Spinner />
224+
<Box gap={1}>
225+
<Spinner label="Working..." />
226+
<Text dimColor>(esc to interrupt)</Text>
227+
</Box>
225228
) : (
226229
elapsedMs !== null && (
227230
<Text dimColor italic>

src/tui/components/ToolList.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ export function ToolList({ tools }: ToolListProps) {
1010
const rows = toolListRows(tools);
1111

1212
if (rows.length === 0) {
13-
return <Text color="gray">No tools available.</Text>;
13+
return <Text dimColor>No tools available.</Text>;
1414
}
1515

1616
return (
1717
<Box flexDirection="column">
1818
{rows.map((row) => (
1919
<Box key={row.name}>
2020
<Box flexShrink={0} marginRight={2}>
21-
<Text color="gray">{row.name}</Text>
21+
<Text bold>{row.name}</Text>
2222
</Box>
2323
<Box flexGrow={1}>
24-
<Text color="gray" wrap="truncate-end">
24+
<Text dimColor wrap="truncate-end">
2525
{row.description}
2626
</Text>
2727
</Box>

0 commit comments

Comments
 (0)