mirror of
https://github.com/davatorium/rofi.git
synced 2025-04-14 17:43:01 -04:00
Add kp home/end
This commit is contained in:
parent
972e3ee1d7
commit
47ad13fdf3
1 changed files with 2 additions and 2 deletions
|
@ -1033,9 +1033,9 @@ int menu( char **lines, char **input, char *prompt, Time *time, int *shift,
|
|||
} else if ( key == XK_Page_Down) {
|
||||
selected += (max_lines-1);
|
||||
if(selected >= num_lines) selected = num_lines-1;
|
||||
} else if ( key == XK_Home) {
|
||||
} else if ( key == XK_Home || key == XK_KP_Home) {
|
||||
selected = 0;
|
||||
} else if ( key == XK_End) {
|
||||
} else if ( key == XK_End || key == XK_KP_End) {
|
||||
selected = num_lines-1;
|
||||
} else if ( key == XK_Tab ) {
|
||||
if ( filtered_lines == 1 ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue