mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 21:03:19 +00:00
fix(coding-agent): show '(ctrl+o to collapse)' hint for bash output when expanded
This commit is contained in:
parent
11dd2f476b
commit
7a8ea9020f
1 changed files with 5 additions and 1 deletions
|
|
@ -166,7 +166,11 @@ export class BashExecutionComponent extends Container {
|
|||
|
||||
// Show how many lines are hidden (collapsed preview)
|
||||
if (hiddenLineCount > 0) {
|
||||
statusParts.push(theme.fg("dim", `... ${hiddenLineCount} more lines (ctrl+o to expand)`));
|
||||
if (this.expanded) {
|
||||
statusParts.push(theme.fg("dim", "(ctrl+o to collapse)"));
|
||||
} else {
|
||||
statusParts.push(theme.fg("dim", `... ${hiddenLineCount} more lines (ctrl+o to expand)`));
|
||||
}
|
||||
}
|
||||
|
||||
if (this.status === "cancelled") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue