Mercurial > vim
changeset 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 | 13274b3715c8 |
children | dcbc79d6a137 |
files | src/version.c src/window.c |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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,
--- 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 */