1
0
forked from aniani/vim

patch 8.0.1610: cannot build without GUI

Problem:    Cannot build without GUI.
Solution:   Add #ifdef.
This commit is contained in:
Bram Moolenaar
2018-03-16 21:34:25 +01:00
parent 135682517b
commit 4ac31eeff0
2 changed files with 4 additions and 0 deletions

View File

@@ -2735,6 +2735,7 @@ term_line2screenline(VTermScreen *screen, VTermPos *pos, int max_col)
}
}
#if defined(FEAT_GUI)
static void
update_system_term(term_T *term)
{
@@ -2777,6 +2778,7 @@ update_system_term(term_T *term)
term->tl_dirty_row_end = 0;
update_cursor(term, TRUE);
}
#endif
/*
* Called to update a window that contains an active terminal.