From 419da839e0cbdf6251bc31dc218fa629ccc91b44 Mon Sep 17 00:00:00 2001 From: Thiago de Arruda Date: Fri, 13 Feb 2015 12:06:19 -0300 Subject: cleanup: Remove unused functions and builtin termcaps --- src/nvim/os_unix.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/nvim/os_unix.c') 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 @@ -163,17 +163,6 @@ int vim_is_xterm(char_u *name) || STRCMP(name, "builtin_xterm") == 0; } -/* - * 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". -- cgit