X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=curs_main.c;h=c9ec57f676f194e727c8230ccf5726247a5bd82e;hb=7baf20487bdb08036dc314899e1a164432cfdef5;hp=757b0069c745e44b7a3af49406a1f359bf656ff0;hpb=814a01519c9605d479201b99eb16c97b0ad8635d;p=apps%2Fmadmutt.git diff --git a/curs_main.c b/curs_main.c index 757b006..c9ec57f 100644 --- 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); + else if (option (OPTBRAILLEFRIENDLY)) + move (menu->current - menu->top + menu->offset, 0); 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)); - buffy_next (buf, sizeof (buf)); + if (op != OP_SIDEBAR_OPEN) + buffy_next (buf, sizeof (buf)); } if (op == OP_SIDEBAR_OPEN) { @@ -1225,7 +1228,6 @@ int mutt_index_menu (void) 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; @@ -1270,6 +1272,7 @@ int mutt_index_menu (void) } else menu->current = 0; + sidebar_set_current (buf); #ifdef USE_NNTP /* buffy_check() must be done with mail-reader mode! */