mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 12:03:49 +00:00
Fix missing spacer between assistant message and text editor
Initialize widgetContainer with default spacer during init() instead of only when extension widgets change. fixes #655
This commit is contained in:
parent
6730b4fa59
commit
175a137d00
2 changed files with 2 additions and 0 deletions
|
|
@ -29,6 +29,7 @@
|
|||
|
||||
### Fixed
|
||||
|
||||
- Missing spacer between assistant message and text editor ([#655](https://github.com/badlogic/pi-mono/issues/655))
|
||||
- Session picker respects custom keybindings when using `--resume` ([#633](https://github.com/badlogic/pi-mono/pull/633) by [@aos](https://github.com/aos))
|
||||
- Custom footer extensions now see model changes: `ctx.model` is now a getter that returns the current model instead of a snapshot from when the context was created ([#634](https://github.com/badlogic/pi-mono/pull/634) by [@ogulcancelik](https://github.com/ogulcancelik))
|
||||
- Footer git branch not updating after external branch switches. Git uses atomic writes (temp file + rename), which changes the inode and breaks `fs.watch` on the file. Now watches the directory instead.
|
||||
|
|
|
|||
|
|
@ -456,6 +456,7 @@ export class InteractiveMode {
|
|||
this.ui.addChild(this.pendingMessagesContainer);
|
||||
this.ui.addChild(this.statusContainer);
|
||||
this.ui.addChild(this.widgetContainer);
|
||||
this.renderWidgets(); // Initialize with default spacer
|
||||
this.ui.addChild(this.editorContainer);
|
||||
this.ui.addChild(this.footer);
|
||||
this.ui.setFocus(this.editor);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue