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