tui_view

Crates.iotui_view
lib.rstui_view
version0.2.5
sourcesrc
created_at2023-06-18 21:11:00.457054
updated_at2023-06-26 15:54:35.996472
descriptionReusable and mildly configurable TUI view
homepage
repositoryhttps://github.com/nonzac/tui_view
max_upload_size
id893641
size15,845
Eren (nonzac)

documentation

README

Crate Status Docs Status

A reusable and mildly configurable TUI frontend library.

The library aims to provide a simple way of loading some data into a terminal interface with no frontend programming. It provides basic actions but it is possible to define custom keybindings too.

All the user needs to do is implement the Opts trait with one mandatory method on a struct and pass it into the create_view function.

Documentation

An app I'm writing using the library

Since typing searches, it is not possible to define custom keybindings without modifiers.

Default keybindings

  • <C-e>: Exit

  • <C-d>: Scroll content down

  • <C-u>: Scroll content up

  • <C-j>: Select next dock item

  • <C-k>: Select previous dock item

  • <C-b>: Toggle dock

  • <C-p>: Toggle popup

  • Type to search.

Screenshots

Screenshot_20230623_210129 Screenshot_20230623_210208 Screenshot_20230623_210222 Screenshot_20230623_210242 Screenshot_20230623_210306

Commit count: 21

cargo fmt