track init callback

This commit is contained in:
🪞👃🪞 2024-07-04 19:40:15 +03:00
parent 163ecaaed6
commit c7047327d5
2 changed files with 72 additions and 55 deletions

View file

@ -51,7 +51,7 @@ const KEYMAP: &'static [KeyBinding<App>] = keymap!(App {
Ok(true)
}],
[Char('t'), CONTROL, "add_track", "add a new track", |app: &mut App| {
app.add_track(None)?;
app.add_track(None, None)?;
Ok(true)
}],
[Char('`'), NONE, "switch_mode", "switch the display mode", |app: &mut App| {