summaryrefslogtreecommitdiff
path: root/src/terminal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/terminal.c')
-rw-r--r--src/terminal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/terminal.c b/src/terminal.c
index 89a354175..bff83d24b 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -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.