ui/ncurses: do all config screen updates in config_screen_post
authorJeremy Kerr <jk@ozlabs.org>
Fri, 13 Dec 2013 02:09:06 +0000 (10:09 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Fri, 31 Jan 2014 00:46:34 +0000 (08:46 +0800)
commit7f7e3688f3285ea803a5579b240cff54958e16e2
treef8a6e156b086509c8ee0ffe93a2e09a7090971f5
parent485680a5bfeb952fd652a59efcce35636d6aec00
ui/ncurses: do all config screen updates in config_screen_post

We call _post when the config screen is to be displayed, so do all
drawing here. This means we get the same drawing code on both init and
update.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
ui/ncurses/nc-config.c