mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Consistent comments capitalization
This commit is contained in:
parent
bfd5f9b1d4
commit
e948949624
10
noice.c
10
noice.c
|
@ -200,29 +200,29 @@ nextsel(int *cur, int max)
|
||||||
switch (c) {
|
switch (c) {
|
||||||
case 'q':
|
case 'q':
|
||||||
return SEL_QUIT;
|
return SEL_QUIT;
|
||||||
/* back */
|
/* Back */
|
||||||
case KEY_BACKSPACE:
|
case KEY_BACKSPACE:
|
||||||
case KEY_LEFT:
|
case KEY_LEFT:
|
||||||
case 'h':
|
case 'h':
|
||||||
return SEL_BACK;
|
return SEL_BACK;
|
||||||
/* inside */
|
/* Inside */
|
||||||
case KEY_ENTER:
|
case KEY_ENTER:
|
||||||
case '\r':
|
case '\r':
|
||||||
case KEY_RIGHT:
|
case KEY_RIGHT:
|
||||||
case 'l':
|
case 'l':
|
||||||
return SEL_GOIN;
|
return SEL_GOIN;
|
||||||
/* filter */
|
/* Filter */
|
||||||
case '/':
|
case '/':
|
||||||
case '&':
|
case '&':
|
||||||
return SEL_FLTR;
|
return SEL_FLTR;
|
||||||
/* next */
|
/* Next */
|
||||||
case 'j':
|
case 'j':
|
||||||
case KEY_DOWN:
|
case KEY_DOWN:
|
||||||
case CONTROL('N'):
|
case CONTROL('N'):
|
||||||
if (*cur < max - 1)
|
if (*cur < max - 1)
|
||||||
(*cur)++;
|
(*cur)++;
|
||||||
break;
|
break;
|
||||||
/* prev */
|
/* Previous */
|
||||||
case 'k':
|
case 'k':
|
||||||
case KEY_UP:
|
case KEY_UP:
|
||||||
case CONTROL('P'):
|
case CONTROL('P'):
|
||||||
|
|
Loading…
Reference in a new issue