aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/ui.c')
-rw-r--r--src/nvim/ui.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nvim/ui.c b/src/nvim/ui.c
index 1ef76d516c..e00ee8b8d0 100644
--- a/src/nvim/ui.c
+++ b/src/nvim/ui.c
@@ -352,16 +352,12 @@ void add_to_input_buf_csi(char_u *str, int len) {
#endif
-#if defined(FEAT_GUI) || defined(FEAT_EVAL) || defined(FEAT_EX_EXTRA) \
- || defined(PROTO)
/* Remove everything from the input buffer. Called when ^C is found */
void trash_input_buf(void)
{
inbufcount = 0;
}
-#endif
-
/*
* Read as much data from the input buffer as possible up to maxlen, and store
* it in buf.