Skip to content

Commit 897e17c

Browse files
committed
Force a flush for terminal
1 parent e0d3e50 commit 897e17c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/terminal.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,11 @@ write_to_term(buf_T *buffer, char_u *msg, channel_T *channel)
343343
/* TODO: only update once in a while. */
344344
update_screen(0);
345345
update_cursor();
346+
#ifdef FEAT_GUI_MACVIM
347+
/* Force a flush now for better experience of interactive shell. */
348+
if (gui.in_use)
349+
gui_macvim_force_flush();
350+
#endif
346351
}
347352

348353
/*

0 commit comments

Comments
 (0)