Skip to content

Commit

Permalink
feat: add keys to global keys popup
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanaden committed Jun 19, 2024
1 parent 032444c commit 44aa3e5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions rm-main/src/ui/global_popups/help.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,17 @@ impl Component for HelpPopup {
add_line!(lines, "ESC", "close a popup / task");
add_line!(lines, "1", "switch to torrents tab");
add_line!(lines, "2", "switch to search tab");
add_line!(lines, "h / ←", "switch to tab left of current tab");
add_line!(lines, "l / →", "switch to tab right of current tab");
add_line!(lines, "j / ↓", "move down");
add_line!(lines, "k / ↑", "move up");
add_line!(lines, "/", "search or filter");
add_line!(lines, "TAB", "switch focus");
add_line!(lines, "Enter", "confirm");
add_line!(lines, "CTRL-d", "scroll page down");
add_line!(lines, "CTRL-u", "scroll page up");
add_line!(lines, "Home", "scroll to the beginning");
add_line!(lines, "End", "scroll to the end");
add_line!(lines, "j / ↓", "move down");
add_line!(lines, "k / ↑", "move up");

lines.push(
Line::from(vec![Span::styled(
Expand Down

0 comments on commit 44aa3e5

Please sign in to comment.