summaryrefslogtreecommitdiff
path: root/src/term.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/term.c b/src/term.c
index 2e0376ce1..27c14ad90 100644
--- a/src/term.c
+++ b/src/term.c
@@ -2591,6 +2591,8 @@ out_char(c)
static void out_char_nf __ARGS((unsigned));
+#if defined(FEAT_GUI) || defined(FEAT_TITLE) \
+ || defined(FEAT_TERMRESPONSE) || defined(FEAT_MOUSE_TTY)
/*
* out_char_nf(c): like out_char(), but don't flush when p_wd is set
*/
@@ -5435,6 +5437,7 @@ req_more_codes_from_term()
if (xt_index_out != old_idx)
out_flush();
}
+#endif
/*
* Decode key code response from xterm: '<Esc>P1+r<name>=<string><Esc>\'.