mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 13:16:44 +01:00
This commit is contained in:
parent
cc88743054
commit
87cd6099ad
11 changed files with 139 additions and 139 deletions
|
|
@ -13,7 +13,7 @@ pub struct Configuration {
|
|||
/// View definition
|
||||
pub view: TokenIter<'static>,
|
||||
// Input keymap
|
||||
pub keys: InputMap<'static, Tek, TekCommand, TuiIn, TokenIter<'static>>
|
||||
pub keys: InputMap<'static, App, AppCommand, TuiIn, TokenIter<'static>>
|
||||
}
|
||||
|
||||
impl Configuration {
|
||||
|
|
@ -87,7 +87,7 @@ impl Configuration {
|
|||
}
|
||||
|
||||
fn parse_keys (base: &impl AsRef<Path>, iter: Option<TokenIter<'static>>)
|
||||
-> Usually<InputMap<'static, Tek, TekCommand, TuiIn, TokenIter<'static>>>
|
||||
-> Usually<InputMap<'static, App, AppCommand, TuiIn, TokenIter<'static>>>
|
||||
{
|
||||
if iter.is_none() {
|
||||
return Err(format!("missing keys definition").into())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue