]> granicus.if.org Git - neomutt/commit
Sidebar clean up: building and drawing logic.
authorKevin McCarthy <kevin@8t8.us>
Sat, 4 Jun 2016 18:32:03 +0000 (11:32 -0700)
committerKevin McCarthy <kevin@8t8.us>
Sat, 4 Jun 2016 18:32:03 +0000 (11:32 -0700)
commit4cd023d0d5e88114cc9f296560cd2743bf192e02
treeb364c239b68decdf274b0c4560f084ba1989aeca
parentbab103348e1e649e685b8fbe3cfdf24ce65836ef
Sidebar clean up: building and drawing logic.

Fix the autoconf/makefile.am changes to be consistent.

Create a global SidebarNeedsRedraw to indicate a redraw is needed,
instead of putting sb_draw() everywhere in the code.

Create a menu_redraw_sidebar() function and use the REDRAW_SIDEBAR
flag instead of piggy-backing it inside the index loop.

Fix curs_main.c and pager.c to be a bit cleaner by using the global and
REDRAW_SIDEBAR.

Start to clean up some of the buffy code, but this needs to refactored
and fixed.
Makefile.am
buffy.c
configure.ac
curs_main.c
flags.c
globals.h
keymap.c
menu.c
mutt_menu.h
pager.c
sidebar.c