mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 05:06:43 +01:00
wip: back to 89 errors
This commit is contained in:
parent
f3c67f95b5
commit
57eff50973
5 changed files with 27 additions and 40 deletions
|
|
@ -79,20 +79,8 @@ handle!(TuiIn: |self: App, input|Ok(if let Some(command) = self.config.keys.comm
|
|||
.transpose()?
|
||||
.flatten())
|
||||
}
|
||||
fn scene (app: &mut App, command: SceneCommand) -> Perhaps<Self> {
|
||||
Ok(command.delegate(app, |command|Self::Scene{command})?)
|
||||
}
|
||||
fn track (app: &mut App, command: TrackCommand) -> Perhaps<Self> {
|
||||
Ok(command.delegate(app, |command|Self::Track{command})?)
|
||||
}
|
||||
fn input (app: &mut App, command: InputCommand) -> Perhaps<Self> {
|
||||
Ok(command.delegate(app, |command|Self::Input{command})?)
|
||||
}
|
||||
fn output (app: &mut App, command: OutputCommand) -> Perhaps<Self> {
|
||||
Ok(command.delegate(app, |command|Self::Output{command})?)
|
||||
}
|
||||
fn clip (app: &mut App, command: ClipCommand) -> Perhaps<Self> {
|
||||
Ok(command.delegate(app, |command|Self::Clip{command})?)
|
||||
fn arrange (app: &mut App, command: ArrangementCommand) -> Perhaps<Self> {
|
||||
Ok(command.delegate(app, |command|Self::Arrange{command})?)
|
||||
}
|
||||
fn clock (app: &mut App, command: ClockCommand) -> Perhaps<Self> {
|
||||
Ok(command.execute(&mut app.clock)?.map(|command|Self::Clock{command}))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue