From 64ca0c00acf59648f45b73ade6b7893eebc2025e Mon Sep 17 00:00:00 2001
From: Rob Swindell <rob@synchro.net>
Date: Mon, 23 Nov 2020 22:28:25 -0800
Subject: [PATCH] Allow ENTER to abort the Operator menu.

---
 exec/msglist.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec/msglist.js b/exec/msglist.js
index 5858c29ddc..c9f848d90a 100644
--- a/exec/msglist.js
+++ b/exec/msglist.js
@@ -1077,7 +1077,7 @@ function list_msgs(msgbase, list, current, preview, grp_name, sub_name)
 									console.crlf();
 								}
 								console.putmsg(options.operator_prompt || "\x01[\x01>\x01y\x01hOperator: ", K_NOCRLF);
-								switch(console.getkeys("?QHC", 0, K_NOCRLF|K_UPPER)) {
+								switch(console.getkeys("?QHC\r", 0, K_NOCRLF|K_UPPER)) {
 									case '?':
 										if(user.settings & USER_EXPERT) {
 											console.line_counter = 0;
-- 
GitLab