Browse Source

Set the corrent keybind for plugin

master
Arun Prakash Jana 4 years ago
parent
commit
984cffecc4
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/nnn.c

+ 2
- 2
src/nnn.c 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;
} }


Loading…
Cancel
Save