mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51: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();
|
||||
if (c != ERR) {
|
||||
ungetch(c);
|
||||
c = CONTROL('S');
|
||||
c = ';';
|
||||
} else
|
||||
c = 27;
|
||||
settimeout();
|
||||
|
@ -2603,7 +2603,7 @@ static int filterentries(char *path, char *lastname)
|
|||
case 27: /* Exit filter mode on Escape and Alt+key */
|
||||
if (handle_alt_key(ch) != ERR) {
|
||||
unget_wch(*ch);
|
||||
*ch = CONTROL('S');
|
||||
*ch = ';';
|
||||
}
|
||||
goto end;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue