#pager #tui #terminal

unsegen_pager

An unsegen widget for viewing files with additional features

5 releases (3 breaking)

Uses old Rust 2015

0.3.0 Jun 3, 2021
0.2.0 Jul 20, 2019
0.1.2 Mar 23, 2019
0.0.1 Mar 17, 2019

#905 in Command-line interface


Used in ugdb

MIT license

78KB
519 lines

unsegen_pager

unsegen_pager provides a pager widget for unsegen including support for syntax highlighting (using syntect) and line decoration.

Getting Started

unsegen_pager is available on crates.io. You can install it by adding this line to your Cargo.toml:

unsegen_pager = "0.3.0"

Screenshots

Examples

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.

Licensing

unsegen_pager is released under the MIT license.

Dependencies

~8–16MB
~203K SLoC