Commit Graph
6 Commits
Author SHA1 Message Date
chuan 0be34a9c16 feat: improve ansi text utilities
- measure text with grapheme-aware terminal widths

- add ansi-aware truncate slice and wrap checks
2026-06-04 02:10:46 +08:00
chuan 48fa673daf feat: improve overlay composition
- preserve base content around overlay regions

- add ANSI-aware column slicing for overlay segments

- align overlay rows with bottom viewport
2026-06-04 01:55:13 +08:00
chuan d49c7644d0 chore: add some comments 2026-06-03 23:29:26 +08:00
chuan 1d8ad20315 feat: add overlay manager
- compose visible overlays into rendered lines

- add runtime APIs for showing and hiding overlays

- restore focus when overlays close

- add help overlay example
2026-06-03 23:19:48 +08:00
chuan 7103f8acc0 feat: add terminal text measurer
- measure terminal display width for text and escape sequences

- truncate rendered lines to terminal columns

- add width and truncation examples
2026-06-03 22:14:35 +08:00
chuan 49e368de72 feat: initialize interfaces and model 2026-06-03 21:35:48 +08:00