menuconfig: Do not open code textbox scroll up/down
authorBenjamin Poirier <bpoirier@suse.de>
Thu, 23 Aug 2012 18:55:07 +0000 (14:55 -0400)
committerMichal Marek <mmarek@suse.cz>
Thu, 27 Sep 2012 16:09:24 +0000 (18:09 +0200)
commit1a374ae6191e9c440f1953a264a94d38173737be
treed242376e9d1d57e824e9b8c14a71ef5b446ee495
parent5e609addb1bd963ce1a1929f2012c8dd04ca8620
menuconfig: Do not open code textbox scroll up/down

We don't need to explicitely use ncurses' scroll(). ncurses performs
vertical-motion optimization at wrefresh() time.

Using strace I confirmed that with the following patch curses still sends only
the new line of text to the terminal when scrolling up/down one line at a
time.

Signed-off-by: Benjamin Poirier <bpoirier@suse.de>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/lxdialog/textbox.c