diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/tui/tui.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/tui/tui.c b/src/nvim/tui/tui.c index 694d7a7cb4..74187e07c0 100644 --- a/src/nvim/tui/tui.c +++ b/src/nvim/tui/tui.c @@ -974,8 +974,7 @@ static void flush_buf(UI *ui, bool toggle_cursor) static const char *tui_get_stty_erase(void) { static char stty_erase[2] = { 0 }; -#if defined(ECHOE) && defined(ICANON) \ - && (defined(HAVE_TERMIO_H) || defined(HAVE_TERMIOS_H)) +#if defined(ECHOE) && defined(ICANON) && defined(HAVE_TERMIOS_H) struct termios t; if (tcgetattr(input_global_fd(), &t) != -1) { stty_erase[0] = (char)t.c_cc[VERASE]; |