]> Sergey Matveev's repositories - nnn.git/commitdiff
Set the corrent keybind for plugin
authorArun Prakash Jana <engineerarun@gmail.com>
Sun, 31 May 2020 07:56:39 +0000 (13:26 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sun, 31 May 2020 07:57:05 +0000 (13:27 +0530)
src/nnn.c

index 69cf19d7ac6f804d39b281eaebf02fbaa64edefd..98f6d2ac081963ee0188f60bef5cb464177497fa 100644 (file)
--- 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;
                }