add keybinding to commit to know it is ctrl u/d

This commit is contained in:
Night Kaly 2024-03-13 19:46:25 +00:00
parent 3a40477b0c
commit c6e65fb0dc
No known key found for this signature in database
GPG key ID: 8E829D3381CFEBBE

4
ccc.c
View file

@ -139,7 +139,7 @@ int main(int argc, char** argv)
break;
*/
/* jump up */
/* jump up (ctrl u)*/
case '\x15':
if ((current_selection - JUMP_NUM) > 0)
current_selection -= JUMP_NUM;
@ -157,7 +157,7 @@ int main(int argc, char** argv)
highlight_current_line();
break;
/* jump down */
/* jump down (ctrl d)*/
case '\x04':
if ((current_selection + JUMP_NUM) < (files_len() - 1))
current_selection += JUMP_NUM;