Cursive helps Rust developers build rich terminal user interfaces. It defaults to a crossterm backend and supports alternate backends for varied deployment environments.
Overview
Cursive wraps terminal rendering and input so applications can present forms, layouts, and interactive views in the console. The API is intended to stay approachable for small scripts while remaining usable for larger real-time programs or even terminal games.
The library targets broad terminal compatibility, including Linux TTY environments where color and Unicode support can be limited compared with desktop emulators. Wide-character support is present with planned right-to-left improvements noted by the authors.
Backends are pluggable beyond the default crossterm integration, which matters when packaging for different operating systems or terminal capabilities. Documentation and tutorial series walk through progressively richer interfaces.
Third-party crates extend Cursive with additional view types, and the maintainer lists example applications that demonstrate non-trivial UIs built on the stack.
Key features
- Text UI view hierarchy
- Default crossterm backend
- Pluggable terminal backends
- Linux TTY compatibility focus
- Wide character support
- Examples for complex layouts
- Third-party view extensions
- Tutorial-oriented documentation
Use cases
- Interactive CLI configuration wizards
- Terminal dashboards and monitors
- In-console debugging tools
- Lightweight TUI games