Fix session picker 'No sessions found' overflow
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user