mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 20:01:27 +00:00
Set the corrent keybind for plugin
This commit is contained in:
parent
0b3e48ad41
commit
984cffecc4
|
@ -2328,7 +2328,7 @@ static int nextsel(int presel)
|
||||||
c = getch();
|
c = getch();
|
||||||
if (c != ERR) {
|
if (c != ERR) {
|
||||||
ungetch(c);
|
ungetch(c);
|
||||||
c = CONTROL('S');
|
c = ';';
|
||||||
} else
|
} else
|
||||||
c = 27;
|
c = 27;
|
||||||
settimeout();
|
settimeout();
|
||||||
|
@ -2603,7 +2603,7 @@ static int filterentries(char *path, char *lastname)
|
||||||
case 27: /* Exit filter mode on Escape and Alt+key */
|
case 27: /* Exit filter mode on Escape and Alt+key */
|
||||||
if (handle_alt_key(ch) != ERR) {
|
if (handle_alt_key(ch) != ERR) {
|
||||||
unget_wch(*ch);
|
unget_wch(*ch);
|
||||||
*ch = CONTROL('S');
|
*ch = ';';
|
||||||
}
|
}
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue