am b68c4fc4: Merge "Treat KEY_ENTER the same as KEY_POWER in the pager."
* commit 'b68c4fc42617acb97dde89f501caf8558a348b51':
Treat KEY_ENTER the same as KEY_POWER in the pager.
diff --git a/screen_ui.cpp b/screen_ui.cpp
index 1e42ee7..cca261f 100644
--- a/screen_ui.cpp
+++ b/screen_ui.cpp
@@ -539,7 +539,7 @@
while (show_prompt) {
show_prompt = false;
int key = WaitKey();
- if (key == KEY_POWER) {
+ if (key == KEY_POWER || key == KEY_ENTER) {
return;
} else if (key == KEY_UP || key == KEY_VOLUMEUP) {
if (offsets.size() <= 1) {