terminfo_is_bsd_console: fallback to false

Ref: https://github.com/neovim/neovim/commit/ab7da4c53138768#r36200515
This commit is contained in:
Daniel Hahler 2019-11-30 04:05:20 +01:00
parent 590082a58f
commit fe927b84de

View File

@ -47,9 +47,8 @@ bool terminfo_is_bsd_console(const char *term)
// like cursor-shaping. Assume that TERM=xterm is degraded. #8644 // like cursor-shaping. Assume that TERM=xterm is degraded. #8644
return strequal(term, "xterm") && !!os_getenv("XTERM_VERSION"); return strequal(term, "xterm") && !!os_getenv("XTERM_VERSION");
# endif # endif
#else
return false;
#endif #endif
return false;
} }
/// Loads a built-in terminfo db when we (unibilium) failed to load a terminfo /// Loads a built-in terminfo db when we (unibilium) failed to load a terminfo