Set the corrent keybind for plugin

This commit is contained in:
Arun Prakash Jana 2020-05-31 13:26:39 +05:30
parent 0b3e48ad41
commit 984cffecc4
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 2 additions and 2 deletions

View File

@ -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;
} }