dprintf(STDERR_FILENO, "%s\n", message);
}
-static void clearinfoln(void)
-{
- move(xlines - 2, 0);
- clrtoeol();
-}
-
#ifdef KEY_RESIZE
static void handle_key_resize()
{
/* Clear the old prompt */
static void clearoldprompt(void)
{
- clearinfoln();
+ // clear info line
+ move(xlines - 2, 0);
+ clrtoeol();
+
tolastln();
clrtoeol();
handle_key_resize();
(cfg.regex ? "reg" : "str"),
((fnstrstr == &strcasestr) ? "ic" : "noic"));
- clearinfoln();
#ifdef FILEINFO
if (ndents && get_output("file", "-b", pdents[cur].name, -1, FALSE, FALSE))
mvaddstr(xlines - 2, 2, g_buf);
showfilter(ln);
}
end:
- clearinfoln();
/* Save last working filter in-filter */
if (ln[1])