mirror of
https://github.com/tstack/lnav.git
synced 2024-09-11 13:05:51 +03:00
Merge pull request #234 from PaulWay/PaulWay_shift_horizontal_movement
Adding smaller movements to left and right via shift-arrows or H and L.
This commit is contained in:
commit
ba1191d730
@ -95,6 +95,14 @@ bool listview_curses::handle_key(int ch)
|
||||
case KEY_LEFT:
|
||||
this->shift_left(-(width / 2));
|
||||
break;
|
||||
case 'L':
|
||||
case KEY_SRIGHT:
|
||||
this->shift_left(10);
|
||||
break;
|
||||
case 'H':
|
||||
case KEY_SLEFT:
|
||||
this->shift_left(-10);
|
||||
break;
|
||||
|
||||
case '\r':
|
||||
case 'j':
|
||||
|
Loading…
Reference in New Issue
Block a user