8 Commits
Author SHA1 Message Date
Lixen d4cc9f2407 v0.5.2 tui: titles and labels drawn a column a rune; an unchanged frame writes nothing
* tui: titles, labels and buttons drawn a column a rune

Ten places drew each rune of a title or label at its byte offset, so a
string holding runes of more than one byte drew with holes and ran past the
width it was measured and truncated to: the Pane title, the Modal title and
hint, the Divider label, TabBar titles, Table cells, Form labels, the
TextField placeholder, the ConfirmDialog and AlertDialog buttons, and the
ProgressOverlay title. Each now draws through Region.Text, which counts
columns by rune, within the bound its loop kept; a Form label stays within
its label column, as the byte count meant it to.

* an unchanged frame writes nothing

flush closed every frame with SGR 0, so a frame that changed no cell still
sent four bytes, and an app drawing an idle screen kept writing to the
terminal. The reset now follows only a frame that wrote cells: the next
cell written restates its whole style, and Fini resets on its own.

Each widget, given a title such as "● é · ñ", draws it whole where it drew
it with holes before; a frame flushed twice writes nothing the second time,
where it wrote ESC [ 0 m.
2026-10-24 19:00:37 -04:00
lixen c657af606d v0.2.2 tui update, reverse row bar 2026-10-10 18:04:30 -04:00
lixen 7d1c3b24a0 v0.2.1 tui enhancement and better narrow layouts 2026-10-10 11:50:56 -04:00
lixen 2b5d127e84 v0.2.0 16 colors, default colors, /dev/tty, bracketed paste, themed form controls 2026-10-09 14:15:46 -04:00
lixen c246f38170 v0.1.6 tui clipped box, scrollbar, and keyvalue improvements, single column document widget added 2026-08-13 08:44:17 -04:00
lixen 228e8ac1ad v0.1.4 tui uniform transparent background policy, tui example added 2026-07-22 10:05:08 -04:00
lixen 9853ac0270 v0.1.1 true color extracted to a standalone package, lut256 lazy build 2026-07-15 07:53:38 -04:00
lixen aa22225c61 v0.1.0 initial commit 2026-07-12 18:41:05 -04:00