nano

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

commit 1fd2354ad49f388dafde3d510fb9632dec3ac281
parent c8bc05b10e27b11a885b9a76fb91edce7dd4c737
Author: Rishabh Dave <rishabhddave@gmail.com>
Date:   Sun,  7 Aug 2016 00:46:41 +0530

shortcuts: zero the value of 'toggle' for keys that are not toggles

This fixes http://savannah.gnu.org/bugs/?48698.

Signed-off-by: Rishabh Dave <rishabhddave@gmail.com>

Diffstat:
Msrc/global.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/global.c b/src/global.c @@ -1359,6 +1359,7 @@ sc *strtosc(const char *input) sc *s; s = (sc *)nmalloc(sizeof(sc)); + s->toggle = 0; #ifndef DISABLE_HELP if (!strcasecmp(input, "help"))