[PATCH v2 5/6] menuconfig: Do not open code textbox scroll up/down

2012-08-23 Thread Benjamin Poirier
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:

[PATCH v2 5/6] menuconfig: Do not open code textbox scroll up/down

2012-08-23 Thread Benjamin Poirier
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: