# HG changeset patch # User Bram Moolenaar # Date 1570481103 -7200 # Node ID 3f51e026de2852d7c55f134ab978f6c3c9ee8eb4 # Parent 13274b3715c8cd03e7ea41c2754f72eb39cc55b1 patch 8.1.2122: cannot build without terminal feature Commit: https://github.com/vim/vim/commit/fbbd102be0f017b316f483893a95e4e78c286c9b Author: Bram Moolenaar 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. diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2122, +/**/ 2121, /**/ 2120, diff --git a/src/window.c b/src/window.c --- 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 */