1
0
forked from aniani/vim

updated for version 7.0014

This commit is contained in:
Bram Moolenaar
2004-09-02 19:12:26 +00:00
parent 269ec658f0
commit d4755bb0e0
59 changed files with 3091 additions and 1736 deletions

View File

@@ -1954,9 +1954,9 @@ vim_is_vt300(name)
{
if (name == NULL)
return FALSE; /* actually all ANSI comp. terminals should be here */
return (STRNICMP(name, "vt3", 3) == 0 /* it will cover all from VT100-VT300 */
|| STRNICMP(name, "vt2", 3) == 0 /* TODO: from VT340 can hanle colors */
|| STRNICMP(name, "vt1", 3) == 0
/* catch VT100 - VT5xx */
return ((STRNICMP(name, "vt", 2) == 0
&& vim_strchr((char_u *)"12345", name[2]) != NULL)
|| STRCMP(name, "builtin_vt320") == 0);
}