Force a flush for terminal

This commit is contained in:
Kazuki Sakamoto
2017-07-24 16:11:15 -07:00
parent e0d3e50857
commit 897e17c8d2
+5
View File
@@ -343,6 +343,11 @@ write_to_term(buf_T *buffer, char_u *msg, channel_T *channel)
/* TODO: only update once in a while. */
update_screen(0);
update_cursor();
#ifdef FEAT_GUI_MACVIM
/* Force a flush now for better experience of interactive shell. */
if (gui.in_use)
gui_macvim_force_flush();
#endif
}
/*