mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
slightly closer to scripted
This commit is contained in:
parent
50728729b7
commit
fcfb7a0915
5 changed files with 66 additions and 46 deletions
|
|
@ -1,6 +1,4 @@
|
|||
use crate::*;
|
||||
#[derive(Debug)]
|
||||
pub enum AppCommand {}
|
||||
handle!(TuiIn:|self: App, input|{
|
||||
panic!("wat: {:?}", self.mode);
|
||||
for keys in self.mode.keys.iter() {
|
||||
|
|
@ -91,6 +89,9 @@ dsl_sym!(|app: App| -> Option<Arc<RwLock<MidiClip>>> {
|
|||
None
|
||||
}
|
||||
});
|
||||
#[derive(Debug)]
|
||||
pub enum AppCommand {
|
||||
}
|
||||
dsl_exp!(|app: App| -> AppCommand {
|
||||
["stop-all"] => app.project.stop_all(),
|
||||
["enqueue", clip?: Option<Arc<RwLock<MidiClip>>>] => todo!(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue