mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-20 16:05:11 +00:00
Fix session picker empty state overflow
This commit is contained in:
parent
588399594c
commit
2836d97735
1 changed files with 6 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue