diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-11-27 14:58:04 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-11-27 15:00:30 -0300 |
commit | bf6bb27e79f53646309ba075655465919bc2e60c (patch) | |
tree | 90cecee10a75f8035fd0df02629d999853318450 /src/nvim/ui.c | |
parent | a3534138a815b6387b8e5f7603c7e2a2b1195d78 (diff) | |
download | rneovim-bf6bb27e79f53646309ba075655465919bc2e60c.tar.gz rneovim-bf6bb27e79f53646309ba075655465919bc2e60c.tar.bz2 rneovim-bf6bb27e79f53646309ba075655465919bc2e60c.zip |
ui: Remove redundant ui.h includes
Also move read_error_exit to os/input.c
Diffstat (limited to 'src/nvim/ui.c')
-rw-r--r-- | src/nvim/ui.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/nvim/ui.c b/src/nvim/ui.c index 2268fb05d4..803e7fab50 100644 --- a/src/nvim/ui.c +++ b/src/nvim/ui.c @@ -94,17 +94,6 @@ int ui_get_shellsize(void) } /* - * Exit because of an input read error. - */ -void read_error_exit(void) -{ - if (silent_mode) /* Normal way to exit for "ex -s" */ - getout(0); - STRCPY(IObuff, _("Vim: Error reading input, exiting...\n")); - preserve_exit(); -} - -/* * May update the shape of the cursor. */ void ui_cursor_shape(void) |