aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-05-31 13:26:39 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-05-31 13:27:05 +0530
commit984cffecc4698189ace594a14c03625e218eb735 (patch)
treea4804b923629197b1ba7c114c852a024ce85d45e
parent0b3e48ad417ab6539d554f4cbd43724a7e12dee4 (diff)
downloadnnn-984cffecc4698189ace594a14c03625e218eb735.tar.gz
Set the corrent keybind for plugin
-rw-r--r--src/nnn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 69cf19d..98f6d2a 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -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;
}