Fix session picker empty state overflow

This commit is contained in:
Mario Zechner 2026-01-16 12:04:55 +01:00
parent 588399594c
commit 2836d97735

View file

@ -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;
}