Fix session picker 'No sessions found' overflow

This commit is contained in:
Mario Zechner 2026-01-16 12:11:01 +01:00
parent 3f4a6857a5
commit 05d78ea2de

View file

@ -165,7 +165,7 @@ class SessionList implements Component {
if (this.filteredSessions.length === 0) { if (this.filteredSessions.length === 0) {
if (this.showCwd) { if (this.showCwd) {
// "All" scope - no sessions anywhere that match filter // "All" scope - no sessions anywhere that match filter
lines.push(theme.fg("muted", " No sessions found")); lines.push(theme.fg("muted", truncateToWidth(" No sessions found", width, "…")));
} else { } else {
// "Current folder" scope - hint to try "all" // "Current folder" scope - hint to try "all"
lines.push( lines.push(