summaryrefslogtreecommitdiffstats
path: root/curs_main.c
diff options
context:
space:
mode:
authordgc <dgc.gitlab@bikeshed.us>2020-12-06 02:14:27 +0000
committerKevin J. McCarthy <kevin@8t8.us>2020-12-06 02:14:27 +0000
commitc92a06c0f645074f63fa22bbc3bb5948aeadf659 (patch)
tree39c4f075f17229ed226c1df757cbe51da2f5a827 /curs_main.c
parent6fe98cf5da7a097d8d488cf7671dbcb8c090ff8c (diff)
abstract some List-* header processing
List-Post parsing is inline in the List-Post header handler. This moves it to some separate functions so that we can use it for other purposes.
Diffstat (limited to 'curs_main.c')
-rw-r--r--curs_main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/curs_main.c b/curs_main.c
index 06cc79f4..65d4db34 100644
--- a/curs_main.c
+++ b/curs_main.c
@@ -2488,6 +2488,12 @@ int mutt_index_menu (void)
break;
}
+ case OP_LIST_ACTION:
+
+ mutt_list_menu (Context, CURHDR);
+ menu->redraw = REDRAW_FULL;
+ break;
+
case OP_SHELL_ESCAPE:
mutt_shell_escape ();