mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 19:56:42 +01:00
enable adding midi ins and outs
This commit is contained in:
parent
76cefdca61
commit
5d6592bbdf
12 changed files with 171 additions and 165 deletions
|
|
@ -21,8 +21,8 @@ handle!(TuiIn: |self: Example, input|{
|
|||
});
|
||||
enum ExampleCommand { Next, Previous }
|
||||
atom_command!(ExampleCommand: |app: Example| {
|
||||
(":prev" [] Self::Previous)
|
||||
(":next" [] Self::Next)
|
||||
(":prev" [] Some(Self::Previous))
|
||||
(":next" [] Some(Self::Next))
|
||||
});
|
||||
command!(|self: ExampleCommand, state: Example|match self {
|
||||
Self::Next =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue