librebro/youtube-tui
6 lines · 149 bytes
1use crossterm::event::KeyCode; 2use crate::app::app::App; 3 4pub trait KeyInput { 5 fn key_input(&mut self, key: KeyCode, app: App) -> (bool, App) ; 6}