diff --git a/src/tui/components/StatusBar.tsx b/src/tui/components/StatusBar.tsx index 27bed99c..fc6b187f 100644 --- a/src/tui/components/StatusBar.tsx +++ b/src/tui/components/StatusBar.tsx @@ -15,6 +15,7 @@ import type { ScreenSession } from '../../types.js'; interface StatusBarProps { session: ScreenSession | null; + inputMode?: boolean; } /** @@ -37,7 +38,7 @@ function formatDuration(ms: number): string { /** * StatusBar component showing session information */ -export function StatusBar({ session }: StatusBarProps): React.ReactElement { +export function StatusBar({ session, inputMode = false }: StatusBarProps): React.ReactElement { if (!session) { return ( {/* Left side: Session info */} + + {sessionName} + + | {'\u25CF'} {statusText} @@ -76,15 +82,17 @@ export function StatusBar({ session }: StatusBarProps): React.ReactElement { mode: {session.mode} - | - - screen: {session.screenName} - + {inputMode && ( + <> + | + INPUT MODE + + )} {/* Right side: Keyboard hints */} - ? help | Esc back | Ctrl+C exit + ? help | Esc back | type to send input );