diff --git a/src/prompt.c b/src/prompt.c index ac049f0b9f20949bff3cd44e2eabbad685fe10c8..f8e7cc1ef579bcc807f7c6589c04e4de0bb7b7f2 100644 --- a/src/prompt.c +++ b/src/prompt.c @@ -468,7 +468,7 @@ void update_the_statusbar(void) blank_statusbar(); - mvwaddnstr(bottomwin, 0, 0, prompt, actual_x(prompt, COLS - 2)); + mvwaddstr(bottomwin, 0, 0, prompt); waddch(bottomwin, ':'); waddch(bottomwin, (the_page == 0) ? ' ' : '<');