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