mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
callback api for tracks and devices
This commit is contained in:
parent
f2774e67a6
commit
f928b026ed
3 changed files with 62 additions and 37 deletions
|
|
@ -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, None)?;
|
||||
app.add_track(None)?;
|
||||
Ok(true)
|
||||
}],
|
||||
[Char('`'), NONE, "switch_mode", "switch the display mode", |app: &mut App| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue