mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 01:08:20 +00:00
Remove unused USE_TERM_CONSOLE ifdefs #1015
This is unused after dropped amiga and msdos support.
This commit is contained in:

committed by
Justin M. Keyes

parent
84854202fe
commit
1de8fe30c8
@@ -1435,15 +1435,6 @@ int set_termname(char_u *term)
|
||||
# endif
|
||||
|
||||
|
||||
#ifdef USE_TERM_CONSOLE
|
||||
/* DEFAULT_TERM indicates that it is the machine console. */
|
||||
if (STRCMP(term, DEFAULT_TERM) != 0)
|
||||
term_console = FALSE;
|
||||
else {
|
||||
term_console = TRUE;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(UNIX)
|
||||
/*
|
||||
* 'ttyfast' is default on for xterm and a few others.
|
||||
@@ -1451,13 +1442,6 @@ int set_termname(char_u *term)
|
||||
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 */
|
||||
|
||||
|
Reference in New Issue
Block a user