0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.1.2122: cannot build without terminal feature

Problem:    Cannot build without terminal feature.
Solution:   Add #ifdef.
This commit is contained in:
Bram Moolenaar
2019-10-07 22:38:58 +02:00
parent a27e1dcddc
commit fbbd102be0
2 changed files with 4 additions and 0 deletions

View File

@@ -753,6 +753,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
2122,
/**/ /**/
2121, 2121,
/**/ /**/

View File

@@ -4654,9 +4654,11 @@ win_enter_ext(
maketitle(); maketitle();
#endif #endif
curwin->w_redr_status = TRUE; curwin->w_redr_status = TRUE;
#ifdef FEAT_TERMINAL
if (bt_terminal(wp->w_buffer)) if (bt_terminal(wp->w_buffer))
// terminal is likely in another mode // terminal is likely in another mode
redraw_mode = TRUE; redraw_mode = TRUE;
#endif
redraw_tabline = TRUE; redraw_tabline = TRUE;
if (restart_edit) if (restart_edit)
redraw_later(VALID); /* causes status line redraw */ redraw_later(VALID); /* causes status line redraw */