Crates.io | tui_view |
lib.rs | tui_view |
version | 0.2.5 |
source | src |
created_at | 2023-06-18 21:11:00.457054 |
updated_at | 2023-06-26 15:54:35.996472 |
description | Reusable and mildly configurable TUI view |
homepage | |
repository | https://github.com/nonzac/tui_view |
max_upload_size | |
id | 893641 |
size | 15,845 |
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.
An app I'm writing using the library
Since typing searches, it is not possible to define custom keybindings without modifiers.
<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.