From e0e41b30c61922e099a067ac5c137e745699a1aa Mon Sep 17 00:00:00 2001 From: Thiago de Arruda Date: Fri, 13 Feb 2015 12:06:01 -0300 Subject: ui: Remove/adapt some old code for a big UI refactor - Remove abstract_ui global, now it is always active - Remove some terminal handling code - Remove unused functions - Remove HAVE_TGETENT/TERMINFO/TERMIOS/IOCTL #ifdefs - Remove tgetent/terminfo from version.c - Remove curses/terminfo dependencies - Only start/stop termcap when starting/exiting the program - msg_use_printf will return true if there are no attached UIs( messages will be written to stdout) - Remove `ex_winpos`(implement `:winpos` with `ex_ni`) --- src/nvim/fileio.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/nvim/fileio.c') diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c index a4728b245b..dd6e5ace3f 100644 --- a/src/nvim/fileio.c +++ b/src/nvim/fileio.c @@ -1813,7 +1813,6 @@ failed: * Switch on raw mode now and clear the screen. */ if (read_stdin) { - starttermcap(); screenclear(); } @@ -6471,12 +6470,6 @@ int has_cmdundefined(void) return first_autopat[(int)EVENT_CMDUNDEFINED] != NULL; } -/// @returns true when there is an FuncUndefined autocommand defined. -int has_funcundefined(void) -{ - return first_autopat[(int)EVENT_FUNCUNDEFINED] != NULL; -} - static int apply_autocmds_group ( event_T event, -- cgit