summaryrefslogtreecommitdiffstats
path: root/curs_main.c
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2021-09-23 13:14:46 -0700
committerKevin McCarthy <kevin@8t8.us>2021-09-23 13:14:46 -0700
commit64d09812fa31c16adcdee7540f906fe0d65b563b (patch)
tree2fc95bb148309ca4d4a4a6aeead38b736bc7ba96 /curs_main.c
parentc1c94be145a88d04b305dd7238c3bb3a064af8a5 (diff)
Implement <select-entry> as <display-message> in index menu.
The default keybindings of <display-message> overshadow those of <select-entry>. However, for someone who rebinds (globally or just in the index menu), it's still possible to invoke <select-entry> inside the index. It's debatable if <display-message> is the only choice in this case. For instance, <attach-message> in the compose menu could conceivably make use of the function. However that opens another set of issues, and as someone on mutt-users said is solving a problem no one has complained about. For now, I think <display-message> is the best choice outside of displaying an error message, so make it do that.
Diffstat (limited to 'curs_main.c')
-rw-r--r--curs_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/curs_main.c b/curs_main.c
index 496a2633..c634a51c 100644
--- a/curs_main.c
+++ b/curs_main.c
@@ -1465,6 +1465,7 @@ int mutt_index_menu (void)
break;
}
+ case OP_GENERIC_SELECT_ENTRY:
case OP_DISPLAY_MESSAGE:
case OP_DISPLAY_HEADERS: /* don't weed the headers */