Commit Graph

10 Commits

Author SHA1 Message Date
ff842a5848 update api 2026-02-03 13:01:10 -05:00
426a0c4715 update examples. fix bugs 2026-02-03 12:53:52 -05:00
9150c90ad1 refactor 2026-02-03 12:22:47 -05:00
8c7cb24171 simplify. remove tick 2026-01-22 22:22:19 -05:00
8cb4c82daa Fix ANSI style preservation in visible-subs and modal rendering
- Track active styles before substring range and prepend them when entering range
- Add reset codes around modal lines to prevent style bleeding between layers

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 16:44:17 -05:00
0e40fe01d7 update docs 2026-01-22 10:50:26 -05:00
95b53f7533 Add flex layouts, modal overlays, and input elements
- Add visible-subs in ansi.clj for ANSI-aware substring operations
- Enhance render-row with multi-line support and :widths flex sizing
- Enhance render-col with :heights flex sizing
- Add calculate-flex-sizes for distributing space among flex items
- Enhance render-box with :fill width/height to use available space
- Add :input element for text input with cursor
- Add :modal element for centered overlay on background
- Pass terminal size to view functions and render context

These changes enable responsive terminal UIs that adapt to window size.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 20:59:07 -05:00
9fe0ac2c6e fix exit app 2026-01-21 10:51:45 -05:00
b14ba33c3a init 2026-01-21 10:30:07 -05:00
a990076b03 init 2026-01-21 01:21:05 -05:00