flowtop: Render table row via raw ncurses buffer
commitca4cd5bec239b88b72fccb2f4849e634a504b260
authorVadim Kochan <vadim4j@gmail.com>
Mon, 22 Aug 2016 21:06:01 +0000 (23 00:06 +0300)
committerTobias Klauser <tklauser@distanz.ch>
Thu, 15 Sep 2016 16:28:28 +0000 (15 18:28 +0200)
tree576c3f58b06807eb24fed7caf441b2801c5452a0
parent5ca82e492cd88813f22d40dc2fecaaa2b3dcd51d
flowtop: Render table row via raw ncurses buffer

Render each column to the ncurses raw buffer first, this buffer
contains ncurses {char:attr} elements which will be printed
to the screen after ui_table_row_show() will
be called (at the end of columns rendering by flowtop).

The reason of this change is to have easy way to
make horizontal scrolling over this buffer.

Approach is used from the 'htop' tool.

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
flowtop.c
ui.c
ui.h