nnn.c | 7 ++----- diff --git a/nnn.c b/nnn.c index d77bc3f751306b8e8a811e6e22baf655b1469b09..fb178a035b30a797920cfc731e79ac765089b036 100644 --- a/nnn.c +++ b/nnn.c @@ -608,8 +608,7 @@ /* Messages show up at the bottom */ static void printmsg(char *msg) { - move(LINES - 1, 0); - printw("%s\n", msg); + mvprintw(LINES - 1, 0, "%s\n", msg); } /* Display warning as a message */ @@ -1625,10 +1624,8 @@ if (setfilter(&re, fltr) != 0) return -1; if (cfg.blkorder) { - timeout(0); printmsg("Calculating..."); - getch(); - timeout(1000); + refresh(); } ndents = dentfill(path, &dents, visible, &re);