forked from aniani/vim
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:
15
src/term.c
15
src/term.c
@@ -2174,21 +2174,6 @@ set_termname(char_u *term)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(UNIX) || defined(VMS)
|
||||
/*
|
||||
* 'ttyfast' is default on for xterm, iris-ansi and a few others.
|
||||
*/
|
||||
if (vim_is_fastterm(term))
|
||||
p_tf = TRUE;
|
||||
#endif
|
||||
#ifdef USE_TERM_CONSOLE
|
||||
/*
|
||||
* 'ttyfast' is default on consoles
|
||||
*/
|
||||
if (term_console)
|
||||
p_tf = TRUE;
|
||||
#endif
|
||||
|
||||
ttest(TRUE); // make sure we have a valid set of terminal codes
|
||||
|
||||
full_screen = TRUE; // we can use termcap codes from now on
|
||||
|
Reference in New Issue
Block a user