commit ed4b6486a13e8a86eb400caf71abfdb7fbe41553
parent 2326bf695e0c7bea9eb3bea33e49cb1f6319dccf
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Sun, 18 Aug 2019 12:45:14 +0200
search: don't wipe the status bar at startup when there was an error
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/nano.c b/src/nano.c
@@ -2631,7 +2631,7 @@ int main(int argc, char **argv)
if (!findnextstr(searchstring, FALSE, JUSTFIND, NULL, TRUE,
openfile->filetop, 0))
not_found_msg(searchstring);
- else
+ else if (lastmessage == HUSH)
wipe_statusbar();
if (ISSET(USE_REGEXP))
tidy_up_after_search();