Using as a Rust Library
It is possible to use binsider
in your Rust/TUI application if you are already using Ratatui.
See the API documentation for getting information about the available functions and structures.
To integrate it with your TUI application, add the following to your Cargo.toml
:
Then you can create a Analyzer
struct and State
for managing the TUI state:
To render a frame:
To handle key events:
See the demo example for the full code. You can run it by cargo run --example demo
.