On 2017-05-27 at 17:30:08 +0200, Vadim Kochan <vadi...@gmail.com> wrote: > Move scrolling logic to the ui.c module, it requires to have > some data iteration provided in flowtop.c and delegated to ui.c part. > > So approach is that now flowtop provides 2 additional callbacks for: > > 1) Iterate over flows/procs list > 2) Draw flow/proc on each iteration which is controlled from ui.c > > it allows to unify scrolling logic and delegate it to the ui.c, in the > future it should allow to easy handle press event on selected row and > drow some additional information, or draw a cursor line per selected > row. > > Also fixed case when down scrolling was bigger that printed rows, not > it is handled by ui part. > > Signed-off-by: Vadim Kochan <vadi...@gmail.com>
Applied, thank you. -- You received this message because you are subscribed to the Google Groups "netsniff-ng" group. To unsubscribe from this group and stop receiving emails from it, send an email to netsniff-ng+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.