aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/os_unix.c')
-rw-r--r--src/nvim/os_unix.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/nvim/os_unix.c b/src/nvim/os_unix.c
index 3bf67c2290..455ed737ff 100644
--- a/src/nvim/os_unix.c
+++ b/src/nvim/os_unix.c
@@ -164,17 +164,6 @@ int vim_is_xterm(char_u *name)
}
/*
- * Return TRUE if "name" appears to be that of a terminal
- * known to support the xterm-style mouse protocol.
- * Relies on term_is_xterm having been set to its correct value.
- */
-int use_xterm_like_mouse(char_u *name)
-{
- return name != NULL
- && (term_is_xterm || STRNICMP(name, "screen", 6) == 0);
-}
-
-/*
* Return non-zero when using an xterm mouse, according to 'ttymouse'.
* Return 1 for "xterm".
* Return 2 for "xterm2".