mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 04:06:45 +01:00
wip: ratatui
This commit is contained in:
parent
edc363c55b
commit
fc7f6f5407
16 changed files with 485 additions and 243 deletions
|
|
@ -1,6 +1,12 @@
|
|||
use crate::prelude::*;
|
||||
use super::Mixer;
|
||||
|
||||
impl HandleInput for Mixer {
|
||||
fn handle (&mut self, event: &Event) -> Result<(), Box<dyn Error>> {
|
||||
handle(self, event)
|
||||
}
|
||||
}
|
||||
|
||||
pub fn handle (state: &mut Mixer, event: &Event) -> Result<(), Box<dyn Error>> {
|
||||
|
||||
if let Event::Input(crossterm::event::Event::Key(event)) = event {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue