comparison src/terminal.c @ 13472:f6a4614edea4 v8.0.1610

patch 8.0.1610: cannot build without GUI commit https://github.com/vim/vim/commit/4ac31eeff0409de0b1fe2d9e9f678859656ac4ae Author: Bram Moolenaar <Bram@vim.org> Date: Fri Mar 16 21:34:25 2018 +0100 patch 8.0.1610: cannot build without GUI Problem: Cannot build without GUI. Solution: Add #ifdef.
author Christian Brabandt <cb@256bit.org>
date Fri, 16 Mar 2018 21:45:06 +0100
parents 6faef782f50b
children 8a8daeb057d1
comparison
equal deleted inserted replaced
13471:198769450820 13472:f6a4614edea4
2733 ++off; 2733 ++off;
2734 } 2734 }
2735 } 2735 }
2736 } 2736 }
2737 2737
2738 #if defined(FEAT_GUI)
2738 static void 2739 static void
2739 update_system_term(term_T *term) 2740 update_system_term(term_T *term)
2740 { 2741 {
2741 VTermPos pos; 2742 VTermPos pos;
2742 VTermScreen *screen; 2743 VTermScreen *screen;
2775 2776
2776 term->tl_dirty_row_start = MAX_ROW; 2777 term->tl_dirty_row_start = MAX_ROW;
2777 term->tl_dirty_row_end = 0; 2778 term->tl_dirty_row_end = 0;
2778 update_cursor(term, TRUE); 2779 update_cursor(term, TRUE);
2779 } 2780 }
2781 #endif
2780 2782
2781 /* 2783 /*
2782 * Called to update a window that contains an active terminal. 2784 * Called to update a window that contains an active terminal.
2783 * Returns FAIL when there is no terminal running in this window or in 2785 * Returns FAIL when there is no terminal running in this window or in
2784 * Terminal-Normal mode. 2786 * Terminal-Normal mode.