Skip to content

Commit 718ffec

Browse files
Treat '?' the same as 'h' with regard to closing help dialog
Fixes #14
1 parent cb924cd commit 718ffec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui/full_term/problems_ui.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ impl ProblemsUi {
274274
(_, KeyCode::Char('p')) => {
275275
self.show_package_details = !self.show_package_details;
276276
}
277-
(Mode::Help, KeyCode::Char('h')) => {
277+
(Mode::Help, KeyCode::Char('h' | '?')) => {
278278
self.modes.pop();
279279
}
280280
(_, KeyCode::Char('h' | '?')) => self.modes.push(Mode::Help),

0 commit comments

Comments
 (0)