mirror of
https://codeberg.org/unspeaker/perch.git
synced 2025-12-06 09:36:42 +01:00
highlight selected column
This commit is contained in:
parent
b3a52c171b
commit
01bc1b7b47
3 changed files with 53 additions and 11 deletions
|
|
@ -13,8 +13,12 @@ use std::env::current_dir;
|
|||
mod keys;
|
||||
mod view;
|
||||
|
||||
type Usually<T> = std::result::Result<T, Box<dyn std::error::Error>>;
|
||||
type Perhaps<T> = Usually<Option<T>>;
|
||||
pub(crate) type Usually<T> = std::result::Result<T, Box<dyn std::error::Error>>;
|
||||
pub(crate) type Perhaps<T> = Usually<Option<T>>;
|
||||
|
||||
pub(crate) const PAGE_SIZE: usize = 10;
|
||||
pub(crate) const COLUMN_COUNT: usize = 5;
|
||||
pub(crate) const COLUMN_WIDTHS: [u16; COLUMN_COUNT] = [60, 20, 20, 5, 20];
|
||||
|
||||
fn cli () -> clap::Command {
|
||||
command!()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue