mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 19:56:42 +01:00
This commit is contained in:
parent
5696cbbebb
commit
2fd7d7b39f
18 changed files with 355 additions and 360 deletions
|
|
@ -50,10 +50,10 @@ pub struct Tek {
|
|||
pub view: SourceIter<'static>,
|
||||
// Cache of formatted strings
|
||||
pub view_cache: Arc<RwLock<ViewCache>>,
|
||||
// Input handler function
|
||||
pub handler: Option<fn(&mut Self, &TuiIn)->Result<Option<bool>, Box<(dyn std::error::Error + 'static)>>>,
|
||||
// Modal overlay
|
||||
pub modal: Option<Modal>
|
||||
pub modal: Option<Modal>,
|
||||
// Input keymap
|
||||
pub keys: InputMap<'static, Self, TekCommand, TuiIn, SourceIter<'static>>
|
||||
}
|
||||
|
||||
impl Tek {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue