diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-03-02 18:54:53 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-03-02 18:54:53 +0530 |
commit | 0941e511e404684fba13d358c2c7b4d6581d683b (patch) | |
tree | a898f2d79b2906144ded34329f52d9454caf4e35 /src/nnn.c | |
parent | a54a23eae53f024b1ae5fbebaa4567d167ca8884 (diff) | |
download | nnn-0941e511e404684fba13d358c2c7b4d6581d683b.tar.gz |
Clear filter at start
Diffstat (limited to 'src/nnn.c')
-rw-r--r-- | src/nnn.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1481,7 +1481,7 @@ static bool initcurses(void *oldmask) init_pair(i + 1, g_ctx[i].color, -1); - g_ctx[i].c_fltr[REGEX_MAX - 1] = '\0'; + memset(g_ctx[i].c_fltr, 0, REGEX_MAX); } settimeout(); /* One second */ |