summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/interactive/app/eventloop.rs4
-rw-r--r--src/interactive/widgets/help.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/interactive/app/eventloop.rs b/src/interactive/app/eventloop.rs
index 002f953..2377cc0 100644
--- a/src/interactive/app/eventloop.rs
+++ b/src/interactive/app/eventloop.rs
@@ -293,8 +293,8 @@ impl AppState {
Char('o') | Char('l') | Enter | Right => {
self.enter_node_with_traversal(&tree_view)
}
- Char('R') => self.refresh(&mut tree_view, window, Refresh::Selected)?,
- Char('r') => self.refresh(&mut tree_view, window, Refresh::AllInView)?,
+ Char('r') => self.refresh(&mut tree_view, window, Refresh::Selected)?,
+ Char('R') => self.refresh(&mut tree_view, window, Refresh::AllInView)?,
Char('H') | Home => self.change_entry_selection(CursorDirection::ToTop),
Char('G') | End => self.change_entry_selection(CursorDirection::ToBottom),
PageUp => self.change_entry_selection(CursorDirection::PageUp),
diff --git a/src/interactive/widgets/help.rs b/src/interactive/widgets/help.rs
index 6bafe05..d5107dd 100644
--- a/src/interactive/widgets/help.rs
+++ b/src/interactive/widgets/help.rs
@@ -183,8 +183,8 @@ impl HelpPane {
"Git-style glob search, case-insensitive.",
Some("Search starts from the current directory."),
);
- hotkey("r", "Refresh all items in the current view.", None);
- hotkey("R", "Refresh only the selected item.", None);
+ hotkey("r", "Refresh only the selected item.", None);
+ hotkey("R", "Refresh all items in the current view.", None);
spacer();
}
title("Mark items pane");