Skip to content

Commit

Permalink
added a key shortcut to scroll top/bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
allinurl committed Jun 26, 2011
1 parent af7ae84 commit c422f3d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions goaccess.c
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,16 @@ get_keys (void)
refresh ();
render_screens ();
break;
case 98: /* SCRL DOWN */
werase (main_win);
scrolling.init_scrl_main_win = logger->alloc_counter - real_size_y;
render_screens ();
break;
case 116: /* SCRL UP */
werase (main_win);
scrolling.init_scrl_main_win = 0;
render_screens ();
break;
default:
if (piping)
break;
Expand Down

0 comments on commit c422f3d

Please sign in to comment.