Skip to content

Commit 1710983

Browse files
committed
Revert missing code
1 parent 8c9b721 commit 1710983

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

src/gui.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,6 @@ typedef enum
577577
# endif
578578
#endif /* FEAT_GUI_GTK */
579579

580-
#if defined(UNIX) && !defined(FEAT_GUI_MAC)
580+
#if defined(UNIX) && !(defined(FEAT_GUI_MAC) || defined(FEAT_GUI_MACVIM))
581581
# define GUI_MAY_FORK
582582
#endif

src/terminal.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -981,6 +981,11 @@ write_to_term(buf_T *buffer, char_u *msg, channel_T *channel)
981981
* already */
982982
if (buffer == curbuf && curbuf->b_term != NULL)
983983
update_cursor(curbuf->b_term, TRUE);
984+
#ifdef FEAT_GUI_MACVIM
985+
/* Force a flush now for better experience of interactive shell. */
986+
if (gui.in_use)
987+
gui_macvim_force_flush();
988+
#endif
984989
}
985990
else
986991
redraw_after_callback(TRUE);

0 commit comments

Comments
 (0)