diff src/window.c @ 18255:3f51e026de28 v8.1.2122

patch 8.1.2122: cannot build without terminal feature Commit: https://github.com/vim/vim/commit/fbbd102be0f017b316f483893a95e4e78c286c9b Author: Bram Moolenaar <Bram@vim.org> Date: Mon Oct 7 22:38:58 2019 +0200 patch 8.1.2122: cannot build without terminal feature Problem: Cannot build without terminal feature. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Mon, 07 Oct 2019 22:45:03 +0200
parents 783f796a1426
children 0cb608fc9c60
line wrap: on
line diff
--- a/src/window.c
+++ b/src/window.c
@@ -4654,9 +4654,11 @@ win_enter_ext(
     maketitle();
 #endif
     curwin->w_redr_status = TRUE;
+#ifdef FEAT_TERMINAL
     if (bt_terminal(wp->w_buffer))
 	// terminal is likely in another mode
 	redraw_mode = TRUE;
+#endif
     redraw_tabline = TRUE;
     if (restart_edit)
 	redraw_later(VALID);	/* causes status line redraw */