replacing: report the number of replacements also on a one-row terminal
That is: call edit_refresh() right away, to prevent the edit_refresh()
in the main loop from overwriting the status-bar message.
This fixes https://savannah.gnu.org/bugs/?60516.
Bug existed since version 2.7.2, commit f920e0d3
.
Этот коммит содержится в:
родитель
7303f0c7b4
Коммит
b368faf11c
@ -729,7 +729,8 @@ void ask_for_and_do_replacements(void)
|
|||||||
openfile->firstcolumn = was_firstcolumn;
|
openfile->firstcolumn = was_firstcolumn;
|
||||||
openfile->current = beginline;
|
openfile->current = beginline;
|
||||||
openfile->current_x = begin_x;
|
openfile->current_x = begin_x;
|
||||||
refresh_needed = TRUE;
|
|
||||||
|
edit_refresh();
|
||||||
|
|
||||||
if (numreplaced >= 0)
|
if (numreplaced >= 0)
|
||||||
statusline(REMARK, P_("Replaced %zd occurrence",
|
statusline(REMARK, P_("Replaced %zd occurrence",
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user