summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-10-07 22:38:58 +0200
committerBram Moolenaar <Bram@vim.org>2019-10-07 22:38:58 +0200
commitfbbd102be0f017b316f483893a95e4e78c286c9b (patch)
tree38553d4ad4241b480b8d9c1bf780185ebcd1bc72 /src/window.c
parenta27e1dcddc9e3914ab34b164f71c51b72903b00b (diff)
downloadvim-git-fbbd102be0f017b316f483893a95e4e78c286c9b.tar.gz
patch 8.1.2122: cannot build without terminal featurev8.1.2122
Problem: Cannot build without terminal feature. Solution: Add #ifdef.
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c
index 6174c02fd..0fda9f05c 100644
--- 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 */