ui/ncurses: Add nc_scr_{un,}post()
authorJeremy Kerr <jk@ozlabs.org>
Wed, 16 Oct 2013 03:30:29 +0000 (11:30 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Wed, 13 Nov 2013 09:31:04 +0000 (17:31 +0800)
commitd57d1c9c4cd7365063da7aa1f018736166bb3a50
tree71581953001d5bc44203fe3d4d03eac4c7a42b9c
parent31ae49c6bfaa3cd65969bff7448be0f6385a6255
ui/ncurses: Add nc_scr_{un,}post()

We may have nc_scrs that aren't interested in post/unpost information,
so create helper functions that allow a NULL callback.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
ui/ncurses/nc-cui.c
ui/ncurses/nc-menu.c
ui/ncurses/nc-scr.c
ui/ncurses/nc-scr.h