highlight selected column

This commit is contained in:
🪞👃🪞 2025-03-03 20:33:23 +02:00
parent b3a52c171b
commit 01bc1b7b47
3 changed files with 53 additions and 11 deletions

View file

@ -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!()