use TuiInput in handlers

This commit is contained in:
🪞👃🪞 2024-09-15 16:11:26 +03:00
parent d9535b707f
commit 5d00e9f284
11 changed files with 37 additions and 61 deletions

View file

@ -641,7 +641,7 @@ impl<'a> Widget for SequenceTimer<'a> {
}
impl Handle<Tui> for Sequencer<Tui> {
fn handle (&mut self, from: &Tui) -> Perhaps<bool> {
fn handle (&mut self, from: &TuiInput) -> Perhaps<bool> {
match from.event() {
// NONE, "seq_cursor_up", "move cursor up", |sequencer: &mut Sequencer| {
key!(KeyCode::Up) => {