aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os_unix.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2015-02-13 12:06:19 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2015-02-16 23:17:39 -0300
commit419da839e0cbdf6251bc31dc218fa629ccc91b44 (patch)
treea250ec0112a53eca78bebcaf013da44efe13b486 /src/nvim/os_unix.c
parentd8f3458ec745cf56dc692b55cc76d8323dbbfc53 (diff)
downloadrneovim-419da839e0cbdf6251bc31dc218fa629ccc91b44.tar.gz
rneovim-419da839e0cbdf6251bc31dc218fa629ccc91b44.tar.bz2
rneovim-419da839e0cbdf6251bc31dc218fa629ccc91b44.zip
cleanup: Remove unused functions and builtin termcaps
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".