mirror of
https://github.com/Xithrius/twitch-tui.git
synced 2024-10-04 09:07:33 +03:00
The help window can now be accessed
This commit is contained in:
parent
df3c6a568d
commit
f12518da4d
@ -317,6 +317,7 @@ impl Component for ChatWidget {
|
||||
Key::Ctrl('t') => self.filters.borrow_mut().toggle(),
|
||||
Key::Ctrl('r') => self.filters.borrow_mut().reverse(),
|
||||
Key::Char('S') => return Some(TerminalAction::SwitchState(State::Dashboard)),
|
||||
Key::Char('?') => return Some(TerminalAction::SwitchState(State::Help)),
|
||||
Key::Char('q') => return Some(TerminalAction::Quit),
|
||||
Key::Esc => {
|
||||
if self.scroll_offset.get_offset() == 0 {
|
||||
|
@ -245,6 +245,7 @@ impl Component for DashboardWidget {
|
||||
Key::Char('q') => return Some(TerminalAction::Quit),
|
||||
Key::Char('s') => self.channel_input.toggle_focus(),
|
||||
Key::Enter => return Some(TerminalAction::SwitchState(State::Normal)),
|
||||
Key::Char('?') => return Some(TerminalAction::SwitchState(State::Help)),
|
||||
Key::Char(c) => {
|
||||
if let Some(selection) = c.to_digit(10) {
|
||||
let mut channels =
|
||||
|
Loading…
Reference in New Issue
Block a user