Fix session picker empty state overflow
This commit is contained in:
@@ -168,7 +168,12 @@ class SessionList implements Component {
|
|||||||
lines.push(theme.fg("muted", " No sessions found"));
|
lines.push(theme.fg("muted", " No sessions found"));
|
||||||
} else {
|
} else {
|
||||||
// "Current folder" scope - hint to try "all"
|
// "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;
|
return lines;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user