unsegen_pager
provides a pager widget for unsegen including support for syntax highlighting (using syntect) and line decoration.
unsegen_pager
is available on crates.io. You can install it by adding this line to your Cargo.toml
:
unsegen_pager = "0.3.0"
There is an example at the root of the crate documentation which should be sufficient to get you going.
For a fully fledged application using unsegen_pager
, you can have a look at ugdb, which was developed alongside unsegen
and the primary motivation for it.
unsegen_pager
is released under the MIT license.