Skip to content

Commit

Permalink
Added the ability to scroll through panels on TAB.
Browse files Browse the repository at this point in the history
  • Loading branch information
allinurl committed Feb 18, 2016
1 parent ead0c20 commit 0ec41e9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/goaccess.c
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,8 @@ static int
next_module (void)
{
gscroll.current = get_next_module (gscroll.current);
gscroll.dash = get_module_index (gscroll.current) * DASH_COLLAPSED;

return 0;
}

Expand All @@ -639,6 +641,8 @@ static int
previous_module (void)
{
gscroll.current = get_prev_module (gscroll.current);
gscroll.dash = get_module_index (gscroll.current) * DASH_COLLAPSED;

return 0;
}

Expand Down

0 comments on commit 0ec41e9

Please sign in to comment.