commit 77d140728dd001d7bb14a109c1f094d234bd8063
parent 4d2ada60f5f7a9b440528aeecd27e71a6af22415
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Sun, 28 Aug 2016 17:53:44 +0200
tweaks: don't bother trimming the prompt again
The prompt has already been trimmed in do_prompt() to fit into the
available space.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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) ? ' ' : '<');