projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
curs_main.c
diff --git
a/curs_main.c
b/curs_main.c
index
757b006
..
c9ec57f
100644
(file)
--- a/
curs_main.c
+++ b/
curs_main.c
@@
-592,6
+592,8
@@
int mutt_index_menu (void)
if (option (OPTARROWCURSOR))
move (menu->current - menu->top + menu->offset, 2);
if (option (OPTARROWCURSOR))
move (menu->current - menu->top + menu->offset, 2);
+ else if (option (OPTBRAILLEFRIENDLY))
+ move (menu->current - menu->top + menu->offset, 0);
else
move (menu->current - menu->top + menu->offset, COLS - 1);
mutt_refresh ();
else
move (menu->current - menu->top + menu->offset, COLS - 1);
mutt_refresh ();
@@
-1203,7
+1205,8
@@
int mutt_index_menu (void)
{
if (Context && Context->path)
strncpy (buf, Context->path, sizeof (buf));
{
if (Context && Context->path)
strncpy (buf, Context->path, sizeof (buf));
- buffy_next (buf, sizeof (buf));
+ if (op != OP_SIDEBAR_OPEN)
+ buffy_next (buf, sizeof (buf));
}
if (op == OP_SIDEBAR_OPEN) {
}
if (op == OP_SIDEBAR_OPEN) {
@@
-1225,7
+1228,6
@@
int mutt_index_menu (void)
else
#endif
mutt_expand_path (buf, sizeof (buf));
else
#endif
mutt_expand_path (buf, sizeof (buf));
- sidebar_set_current (buf);
if (mx_get_magic (buf) <= 0) {
mutt_error (_("%s is not a mailbox."), buf);
break;
if (mx_get_magic (buf) <= 0) {
mutt_error (_("%s is not a mailbox."), buf);
break;
@@
-1270,6
+1272,7
@@
int mutt_index_menu (void)
}
else
menu->current = 0;
}
else
menu->current = 0;
+ sidebar_set_current (buf);
#ifdef USE_NNTP
/* buffy_check() must be done with mail-reader mode! */
#ifdef USE_NNTP
/* buffy_check() must be done with mail-reader mode! */