This project is under construction, and will likely have interface changes
tui-util is a minimal tool creating interactive tui software. I built tui-util as a learning exercise, to practice using rust and better understand how terminal programs work under the hood.
tui-util is inspired by tools like crossterm , termion, and ncurses.
- an interface for setting the tty into raw mode
- an interface for writing ANSI CSI and SGR codes to the tty
- an event handling system for reacting to keyboard, mouse, and window resize events
- key events
- mouse events
- window resize events
- clone this repo
cargo run --example basic
- windows support
- UI elements
- ctrl-h is ctrl-backspace
- ctrl-i is tab
- ctrl-m is as enter
- ctrl-} is escape
- no ctrl-esc only alt-esc
- no ctrl-alt-f* because the kernal uses that to switch switch tty