mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 01:08:20 +00:00
vim-patch:8.2.0389: delayed redraw when shifting text from Insert mode
Problem: Delayed redraw when shifting text from Insert mode.
Solution: Use msg_attr_keep() instead of msg(). (closes vim/vim#5782)
e4fc746d13
This commit is contained in:
@@ -261,7 +261,7 @@ void op_shift(oparg_T *oap, int curs_top, int amount)
|
|||||||
sprintf((char *)IObuff, _("%" PRId64 " lines %sed %d times"),
|
sprintf((char *)IObuff, _("%" PRId64 " lines %sed %d times"),
|
||||||
(int64_t)oap->line_count, s, amount);
|
(int64_t)oap->line_count, s, amount);
|
||||||
}
|
}
|
||||||
msg(IObuff);
|
msg_attr_keep(IObuff, 0, true, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user