mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-08 20:56:43 +01:00
put phrases from pool in arrangement
This commit is contained in:
parent
dc3edc86ff
commit
96ca1e148b
4 changed files with 14 additions and 4 deletions
|
|
@ -45,6 +45,8 @@ impl Handle<Tui> for Arranger<Tui> {
|
|||
key!(KeyCode::Down) => { self.focus_down(); },
|
||||
key!(KeyCode::Left) => { self.focus_left(); },
|
||||
key!(KeyCode::Right) => { self.focus_right(); },
|
||||
// Put selected phrase at position
|
||||
key!(KeyCode::Char('s')) => { self.arrangement.phrase_put(); },
|
||||
// Global play/pause binding
|
||||
key!(KeyCode::Char(' ')) => match self.transport {
|
||||
Some(ref mut transport) => { transport.write().unwrap().toggle_play()?; },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue