mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-08 04:36:45 +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
|
|
@ -210,7 +210,7 @@ edn_command!(MidiEditCommand: |state: MidiEditor| {
|
|||
impl MidiEditCommand {
|
||||
fn from_tui_event (state: &MidiEditor, input: &impl EdnInput) -> Usually<Option<Self>> {
|
||||
use EdnItem::*;
|
||||
let edns = EdnItem::<&str>::read_all(KEYS_EDIT)?;
|
||||
let edns = EdnItem::read_all(KEYS_EDIT)?;
|
||||
for item in edns.iter() {
|
||||
if let Exp(e) = item {
|
||||
match e.as_slice() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue