mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-22 12:51:23 +03:00
tweaks: don't bother trimming the prompt again
The prompt has already been trimmed in do_prompt() to fit into the available space.
This commit is contained in:
parent
4d2ada60f5
commit
77d140728d
@ -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) ? ' ' : '<');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user