mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -04:00
patch 9.0.0948: 'ttyfast' is set for arbitrary terminals
Problem: 'ttyfast' is set for arbitrary terminals. Solution: Always set 'ttyfast'. (closes #11549)
This commit is contained in:
@@ -2437,24 +2437,6 @@ vim_is_vt300(char_u *name)
|
||||
|| STRCMP(name, "builtin_vt320") == 0);
|
||||
}
|
||||
|
||||
/*
|
||||
* Return TRUE if "name" is a terminal for which 'ttyfast' should be set.
|
||||
* This should include all windowed terminal emulators.
|
||||
*/
|
||||
int
|
||||
vim_is_fastterm(char_u *name)
|
||||
{
|
||||
if (name == NULL)
|
||||
return FALSE;
|
||||
if (vim_is_xterm(name) || vim_is_vt300(name) || vim_is_iris(name))
|
||||
return TRUE;
|
||||
return ( STRNICMP(name, "hpterm", 6) == 0
|
||||
|| STRNICMP(name, "sun-cmd", 7) == 0
|
||||
|| STRNICMP(name, "screen", 6) == 0
|
||||
|| STRNICMP(name, "tmux", 4) == 0
|
||||
|| STRNICMP(name, "dtterm", 6) == 0);
|
||||
}
|
||||
|
||||
/*
|
||||
* Insert user name in s[len].
|
||||
* Return OK if a name found.
|
||||
|
Reference in New Issue
Block a user