commit 35965938236f07dfd37f96ac2d6f809c2c4e8a3b from: Omar Polo date: Thu Jul 15 15:35:01 2021 UTC show the number of completions available commit - 6eddfe3cdce05bc9f6450315900a90c5ff5c6683 commit + 35965938236f07dfd37f96ac2d6f809c2c4e8a3b blob - 7ed662f1b4a235e66747c32619e0312ac9c0b31e blob + bb65a4983ba4f5c37701e938162ee2701240a965 --- ui.c +++ ui.c @@ -840,7 +840,13 @@ do_redraw_minibuffer(void) /* unused, set by getyx */ (void)off_y; - mvwprintw(echoarea, 0, 0, "%s", ministate.prompt); + wmove(echoarea, 0, 0); + + if (in_minibuffer == MB_COMPREAD) + wprintw(echoarea, "(%2d) ", + ministate.compl.buffer.line_max); + + wprintw(echoarea, "%s", ministate.prompt); if (ministate.hist_cur != NULL) wprintw(echoarea, "(%zu/%zu) ", ministate.hist_off + 1,