ui/ncurses: Abstract text-screen code from sysinfo screen
authorJeremy Kerr <jk@ozlabs.org>
Mon, 9 Dec 2013 03:30:19 +0000 (11:30 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Fri, 31 Jan 2014 00:46:34 +0000 (08:46 +0800)
commit445f43743b73fbd63cccba7fa7ae890c907fe6dd
tree53d2d859a28fce070202f9fa037cb75c3975da21
parent7f7e3688f3285ea803a5579b240cff54958e16e2
ui/ncurses: Abstract text-screen code from sysinfo screen

We want to implement help screens, which are very similar to the sysinfo
screen - show a set of lines, and allow scrolling.

This change splits the text-screen rendering code into a new nc-textinfo
module.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
ui/ncurses/Makefile.am
ui/ncurses/nc-scr.h
ui/ncurses/nc-sysinfo.c
ui/ncurses/nc-textscreen.c [new file with mode: 0644]
ui/ncurses/nc-textscreen.h [new file with mode: 0644]