mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 19:56:42 +01:00
generalize EdnItem.
maybe should rename it to Atom? ~90 instances of it
This commit is contained in:
parent
1b9da07280
commit
143cd24e09
20 changed files with 314 additions and 286 deletions
|
|
@ -54,7 +54,7 @@ impl EdnInput for TuiIn {
|
|||
false
|
||||
}
|
||||
}
|
||||
fn get_event (item: &EdnItem) -> Option<Event> {
|
||||
fn get_event (item: &EdnItem<impl AsRef<str>>) -> Option<Event> {
|
||||
match item { EdnItem::Sym(s) => KeyMatcher::new(s).build(), _ => None }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue