Show HN: Tuie - A rich, performant TUI library for rust
Tuie is a new TUI library for Rust that offers a variety of features for building terminal user interfaces. It supports layouts like flexbox and grids, as well as image rendering and customizable input bindings. The library is designed for performance with features like async callbacks and efficient memory usage.
- ▪Tuie provides a rich set of layout options including flexbox, grids, and virtualized lists.
- ▪It supports image rendering with fallbacks for different terminal capabilities.
- ▪The library allows for customizable input handling with various key bindings.
Opening excerpt (first ~120 words) tap to expand
tuie A rich, performant TUI library for Rust. demo.mp4 Features Layout: Flexbox, grids, splits, and virtualized lists, all with min, max, and preferred-size constraints. Images: Kitty with sixel and half-block fallbacks, all working over SSH and tmux passthrough. Input: Iterator-based extensible text input with vi, emacs, modern, and custom bindings. Harmonious: Generated 256-color palette, consistent with user's base16 theme, zero config. Chords: Construct and match on human readable inputs: chord!(Ctrl + Arrow(Up | Down)) Async: Timers and async callbacks with support for any async runtime. Performance: Per subtree/widget/cell dirty tracking, batched queries, shared memory graphics, packed structs. GUI: Optionally run as a GUI with box-drawing, smooth scrolling.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at GitHub.