ui/ncurses/nc-config: Draw config form into a scrollable pad
authorJeremy Kerr <jk@ozlabs.org>
Fri, 25 Oct 2013 08:06:50 +0000 (16:06 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 14 Nov 2013 04:33:01 +0000 (15:33 +1100)
commit9670732fd1a67ae83cbc5e0c48792231e6a0dcb3
tree9f29a6cb689a8afcec513ec89d1e33b81ab8c22e
parentbdcb1f9712f9e99ff1f72497387b34e68585523c
ui/ncurses/nc-config: Draw config form into a scrollable pad

Currently, when the config form is larger than the screen size, the form
fails to draw.

This change draws the config screen onto a pad instead, which we can
scroll.

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