projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
now this is slightly better.
[apps/madmutt.git]
/
lib-ui
/
curs_main.c
diff --git
a/lib-ui/curs_main.c
b/lib-ui/curs_main.c
index
aa09235
..
71af8bd
100644
(file)
--- a/
lib-ui/curs_main.c
+++ b/
lib-ui/curs_main.c
@@
-22,6
+22,7
@@
#include "menu.h"
#include "mutt.h"
#include "menu.h"
#include "mutt.h"
+#include "pattern.h"
#include "alias.h"
#include "sort.h"
#include "recvattach.h"
#include "alias.h"
#include "sort.h"
#include "recvattach.h"
@@
-96,12
+97,14
@@
extern size_t UngetCount;
void index_make_entry (char *s, ssize_t l, struct menu_t * menu, int num)
{
void index_make_entry (char *s, ssize_t l, struct menu_t * menu, int num)
{
- format_flag flag =
- M_FORMAT_MAKEPRINT | M_FORMAT_ARROWCURSOR | M_FORMAT_INDEX;
+ format_flag flag = M_FORMAT_MAKEPRINT | M_FORMAT_INDEX;
int edgemsgno, reverse = Sort & SORT_REVERSE;
HEADER *h = Context->hdrs[Context->v2r[num]];
THREAD *tmp;
int edgemsgno, reverse = Sort & SORT_REVERSE;
HEADER *h = Context->hdrs[Context->v2r[num]];
THREAD *tmp;
+ if (option(OPTARROWCURSOR))
+ flag |= M_FORMAT_ARROWCURSOR;
+
if ((Sort & SORT_MASK) == SORT_THREADS && h->tree) {
flag |= M_FORMAT_TREE; /* display the thread tree */
if (h->display_subject)
if ((Sort & SORT_MASK) == SORT_THREADS && h->tree) {
flag |= M_FORMAT_TREE; /* display the thread tree */
if (h->display_subject)
@@
-385,7
+388,7
@@
struct mapping_t IndexNewsHelp[] = {
*/
int mutt_index_menu (void)
{
*/
int mutt_index_menu (void)
{
- char buf[LONG_STRING], helpstr[S
HORT_S
TRING];
+ char buf[LONG_STRING], helpstr[STRING];
int flags;
int op = OP_NULL;
int done = 0; /* controls when to exit the "event" loop */
int flags;
int op = OP_NULL;
int done = 0; /* controls when to exit the "event" loop */
@@
-2315,9
+2318,6
@@
int mutt_index_menu (void)
if (menu->menu == MENU_PAGER) {
menu->menu = MENU_MAIN;
menu->redraw = REDRAW_FULL;
if (menu->menu == MENU_PAGER) {
menu->menu = MENU_MAIN;
menu->redraw = REDRAW_FULL;
-#if 0
- set_option (OPTWEED); /* turn header weeding back on. */
-#endif
}
if (done)
}
if (done)