Hey! I’ve been using bubbletea a lot, and the similarity makes me wonder if you started this project by asking a LLM to translate bubbletea to zig. Is it the case ? If so, did you test extensively the resulting code ?
Bubbletea was a big inspiration for the architecture, yeah. I used LLMs as a tool during development like I do with most projects nowadays, but it’s not a translation. Zig requires a very different approach to memory management, error handling, etc. And yes, everything is tested and properly maintained.
ZigZag v0.1.2 released: chart components, inline image support, overlays, focus management, and Windows fixes
zigzag v0.1.2 has been released.
This update adds a few larger pieces to the UI layer: charting support, canvas drawing, inline terminal images, focus management, modal/tooltip overlays, tab groups, and OSC 52 clipboard support. It also includes a number of fixes around text input, layout, cursor rendering, frame timing, and Windows event handling.
Included in v0.1.2:
Added parentheses around struct literals. (#10)
Fixed a memory leak in the todo_list example. (#14)
Fixed the layout issue in example showcase tab five. (#15)
Fixed Chinese input handling in TextArea and TextInput. (#16)
Fixed text editor cursor display. (#18)
Fixed the Windows readInput blocking call that disabled ticking. (#22)
Added soft word wrap to TextArea. (#23)
Fixed a nil pointer dereference when using ctx.allocator in init. (#26)
Drained non-byte console events to unblock the initial tick on Windows. (#27)
Fixed missing placeholder padding and empty row padding in TextArea. (#30)
Fixed an extra newline in inline styles. (#31)
Fixed frame timings and non-monotonic clock issues. (#34)
Added inline image support for Kitty, iTerm2, and Sixel. (#35)
Extended image support with caching, in-memory data, z-index, and protocol selection. (#36)
Added a focus management system with customizable key bindings. (#37)
Added Modal and Tooltip overlay components. (#38)
Added TabGroup for multi-screen tab navigation. (#39)
Added OSC 52 clipboard support for copy and query. (#40)
Added Chart, BarChart, and Canvas components, and enhanced Viewport. (#41)
Improved responsive chart layout. (#42)
Contributors in this release: nwindian, dacec354 and me
Just shipped v0.1.3 of ZigZag, my Elm-architecture TUI framework for Zig (inspired by Bubble Tea / Lipgloss). This release got pretty big, here’s what’s new since v0.1.2: