mirror of
https://github.com/orhun/systeroid
synced 2024-07-23 11:24:57 +00:00
feat(tui): show help when F1 is pressed
This commit is contained in:
parent
df0a3f742f
commit
88f6e3ba56
|
@ -81,6 +81,7 @@ impl Command {
|
|||
}
|
||||
} else {
|
||||
match key {
|
||||
Key::Char('?') | Key::F(1) => Command::Help,
|
||||
Key::Up | Key::Char('k') => Command::Scroll(ScrollArea::List, Direction::Up, 1),
|
||||
Key::Down | Key::Char('j') => Command::Scroll(ScrollArea::List, Direction::Down, 1),
|
||||
Key::PageUp => Command::Scroll(ScrollArea::List, Direction::Up, 4),
|
||||
|
|
Loading…
Reference in a new issue