diff --git a/packages/coding-agent/src/modes/interactive/components/session-selector.ts b/packages/coding-agent/src/modes/interactive/components/session-selector.ts index ec156a73..c63ea6d8 100644 --- a/packages/coding-agent/src/modes/interactive/components/session-selector.ts +++ b/packages/coding-agent/src/modes/interactive/components/session-selector.ts @@ -168,7 +168,12 @@ class SessionList implements Component { lines.push(theme.fg("muted", " No sessions found")); } else { // "Current folder" scope - hint to try "all" - lines.push(theme.fg("muted", " No sessions in current folder. Press Tab to view all.")); + lines.push( + theme.fg( + "muted", + truncateToWidth(" No sessions in current folder. Press Tab to view all.", width, "…"), + ), + ); } return lines; }