fix(tui): prevent terminal cell artifacts

This commit is contained in:
Xubin Ren
2026-08-17 20:56:10 +08:00
parent a632017194
commit 7e60d52f0e
6 changed files with 63 additions and 11 deletions
+2
View File
@@ -81,6 +81,7 @@ export class RuntimeControls {
height: 1,
flexShrink: 0,
fg: theme.faint,
selectable: false,
})
this.render()
}
@@ -159,6 +160,7 @@ export class RuntimeControls {
height: 1,
flexShrink: id === "model" ? 1 : 0,
fg: this.theme.muted,
selectable: false,
onMouseOver: () => { text.fg = this.theme.accent },
onMouseOut: () => this.renderColors(),
onMouseDown: (event) => {