1
1
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:
Tim Stack 2015-05-11 06:46:42 -07:00
commit ba1191d730

View File

@ -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':