mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.0.0467: using g< after :for does not show the right output
Problem: Using g< after :for does not show the right output. (Marcin
Szamotulski)
Solution: Call msg_sb_eol() in :echomsg.
57002ad70c
This commit is contained in:
parent
66a39fce6c
commit
5d8594f636
@ -19528,6 +19528,14 @@ void ex_execute(exarg_T *eap)
|
||||
}
|
||||
|
||||
if (ret != FAIL && ga.ga_data != NULL) {
|
||||
if (eap->cmdidx == CMD_echomsg || eap->cmdidx == CMD_echoerr) {
|
||||
// Mark the already saved text as finishing the line, so that what
|
||||
// follows is displayed on a new line when scrolling back at the
|
||||
// more prompt.
|
||||
msg_sb_eol();
|
||||
msg_start();
|
||||
}
|
||||
|
||||
if (eap->cmdidx == CMD_echomsg) {
|
||||
MSG_ATTR(ga.ga_data, echo_attr);
|
||||
ui_flush();
|
||||
|
Loading…
Reference in New Issue
Block a user