mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 17:28:23 +00:00
cleanup: Remove unused functions and builtin termcaps
This commit is contained in:
@@ -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".
|
||||
|
Reference in New Issue
Block a user