mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Clear filter at start
This commit is contained in:
parent
a54a23eae5
commit
0941e511e4
|
@ -1481,7 +1481,7 @@ static bool initcurses(void *oldmask)
|
||||||
|
|
||||||
init_pair(i + 1, g_ctx[i].color, -1);
|
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 */
|
settimeout(); /* One second */
|
||||||
|
|
Loading…
Reference in a new issue