mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 07:28:34 +00:00
build: Do not check for obsolete <termio.h>
This commit is contained in:
@@ -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];
|
||||
|
Reference in New Issue
Block a user