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
@@ -119,6 +119,7 @@ export class PickerMenu<T> {
width: "100%",
height: 1,
fg: this.theme.muted,
selectable: false,
}))
return
}
@@ -131,6 +132,7 @@ export class PickerMenu<T> {
height: 1,
wrapMode: "none",
fg: selected ? this.theme.text : this.theme.muted,
selectable: false,
...(selected && this.theme.selectedBackground
? { backgroundColor: RGBA.fromHex(this.theme.selectedBackground) }
: {}),