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 scrollin
Really ui_table_row_print(x) no more prints anything, it
just sets column value in a row.
Signed-off-by: Vadim Kochan
---
flowtop.c | 44 ++--
ui.c | 2 +-
ui.h | 4 ++--
3 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/flowtop.
Add left/right scrolling for flows list table to make
possible see all the columns with a smaller display size.
Handle 'Left' & 'Right' keypress to scroll left or right.
Signed-off-by: Vadim Kochan
---
flowtop.c | 32 +---
ui.c | 25 +
ui
In case of smaller than 130 chars display, some of the fields might
be hidden, therefore add ability to scroll to left/right over the end
of screen to see hidden columns.
Also it will allow to extend flow line with additional fields (pps).
Used approach from 'htop' tool where scrolling is made ov
Add new --prefix=PREFIX configure commandline option to specify
installation directory for binaries.
Add additional check in 'Cmds' file if --prefix was specified
from 'configure' script, in that case required installation path
components will be created automatically as it is done for
'make PREFI
Add new 'configure' options:
--prefix - to control of installation of binaries & shared files
--sysconfdir - to control of installation of config files
The old 'make VAR=VALUE' should still work.
v2:
1) Reword commit subjects to do not contain option names.
Vadim Kochan (2):
b
Add new '--sysconfdir=PREFIX' option to control installation of
config files, files will be installed into PREFIX/etc path.
Signed-off-by: Vadim Kochan
---
configure | 14 ++
1 file changed, 14 insertions(+)
diff --git a/configure b/configure
index db9727c..139483a 100755
--- a/conf