nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 8bffc8ea53a51565327f7de6dab8102c0549b119
parent fb8d981bfa642eece91a46e11875daa19e57c20e
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Fri,  5 Oct 2018 19:27:10 +0200

tweaks: add a comment, and correct an indentation

Diffstat:
Msrc/winio.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/winio.c b/src/winio.c @@ -709,8 +709,8 @@ int parse_kbinput(WINDOW *win) case KEY_C3: /* PageDown (3) on keypad with NumLock off. */ return KEY_NPAGE; #ifdef KEY_SDC /* Slang doesn't support KEY_SDC. */ - case KEY_SDC: - return KEY_BACKSPACE; + case KEY_SDC: /* Make a shifted <Del> key do a backspace. */ + return KEY_BACKSPACE; #endif #ifdef KEY_SIC /* Slang doesn't support KEY_SIC. */ case KEY_SIC: