Commit Graph

14 Commits

Author SHA1 Message Date
426a0c4715 update examples. fix bugs 2026-02-03 12:53:52 -05:00
9150c90ad1 refactor 2026-02-03 12:22:47 -05:00
a3c01d4b5a update docs 2026-01-23 07:56:25 -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
d069317b22 Delete bubbletea-guide.md 2026-01-21 08:00:47 -10:00
dd92d05247 update views example 2026-01-21 12:58:50 -05:00
507db9cf00 add VHS-generated GIFs for all examples
Created tape files and GIFs demonstrating each example:
- counter, timer, list, spinner, views, http
- Updated README with GIF showcase

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 12:44:38 -05:00
dab0a27e4d add comprehensive documentation for external users
Includes getting started guide, hiccup views reference,
full API documentation, and annotated example walkthroughs
with ASCII output examples.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 11:37:16 -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