mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-08 12:46:42 +01:00
wip: phrase_get
This commit is contained in:
parent
60c129d868
commit
f8581a866c
3 changed files with 16 additions and 9 deletions
|
|
@ -34,6 +34,8 @@ impl Handle<Tui> for Arranger<Tui> {
|
|||
key!(KeyCode::Right) => { self.focus_right(); },
|
||||
// Put selected phrase at position
|
||||
key!(KeyCode::Char('s')) => { self.arrangement.phrase_put(); },
|
||||
// Select phrase at current position
|
||||
key!(KeyCode::Char('g')) => { self.arrangement.phrase_get(); },
|
||||
// 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