aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFredrik Fornwall <fredrik@fornwall.net>2014-07-31 18:14:53 +0200
committerJustin M. Keyes <justinkz@gmail.com>2014-08-07 01:52:03 -0400
commit1de8fe30c8a2ab09ae9dc6b18925f9351d4f72bc (patch)
tree2de2db60bcc63653220eed2f02bb870612e1e7f5 /src
parent84854202fe6a38f576a8f239e00e6386123a4e23 (diff)
downloadrneovim-1de8fe30c8a2ab09ae9dc6b18925f9351d4f72bc.tar.gz
rneovim-1de8fe30c8a2ab09ae9dc6b18925f9351d4f72bc.tar.bz2
rneovim-1de8fe30c8a2ab09ae9dc6b18925f9351d4f72bc.zip
Remove unused USE_TERM_CONSOLE ifdefs #1015
This is unused after dropped amiga and msdos support.
Diffstat (limited to 'src')
-rw-r--r--src/nvim/globals.h3
-rw-r--r--src/nvim/term.c16
2 files changed, 0 insertions, 19 deletions
diff --git a/src/nvim/globals.h b/src/nvim/globals.h
index c0122ae189..a0cbedcc57 100644
--- a/src/nvim/globals.h
+++ b/src/nvim/globals.h
@@ -902,9 +902,6 @@ EXTERN int read_cmd_fd INIT(= 0); /* fd to read commands from */
/* volatile because it is used in signal handler catch_sigint(). */
EXTERN volatile int got_int INIT(= FALSE); /* set to TRUE when interrupt
signal occurred */
-#ifdef USE_TERM_CONSOLE
-EXTERN int term_console INIT(= FALSE); /* set to TRUE when console used */
-#endif
EXTERN int termcap_active INIT(= FALSE); /* set by starttermcap() */
EXTERN int cur_tmode INIT(= TMODE_COOK); /* input terminal mode */
EXTERN int bangredo INIT(= FALSE); /* set to TRUE with ! command */
diff --git a/src/nvim/term.c b/src/nvim/term.c
index 24e8e03402..ae5223afc9 100644
--- a/src/nvim/term.c
+++ b/src/nvim/term.c
@@ -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 */