diff --git a/src/state.rs b/src/state.rs index 0ce78ffb..5e31b521 100644 --- a/src/state.rs +++ b/src/state.rs @@ -196,6 +196,8 @@ impl AppState { self.refresh_tab(); } KeyCode::Char('/') => self.enter_search(), + KeyCode::Char('t') => self.theme = self.theme.next(), + KeyCode::Char('T') => self.theme = self.theme.prev(), _ => {} }, Focus::List if key.kind != KeyEventKind::Release => match key.code { @@ -212,6 +214,8 @@ impl AppState { } KeyCode::Char('/') => self.enter_search(), KeyCode::Tab => self.focus = Focus::TabList, + KeyCode::Char('t') => self.theme = self.theme.next(), + KeyCode::Char('T') => self.theme = self.theme.prev(), _ => {} }, _ => {}