TUI: TERM=nsterm

Treat TERM=nsterm the same way in augment_terminfo() and
patch_terminfo_bugs().

ref #9244 463d28cc80
This commit is contained in:
Justin M. Keyes
2018-12-11 03:06:35 +01:00
parent ab7da4c531
commit 3f55010cda

View File

@@ -1755,7 +1755,9 @@ static void augment_terminfo(TUIData *data, const char *term,
long konsolev, bool iterm_env)
{
unibi_term *ut = data->ut;
bool xterm = terminfo_is_term_family(term, "xterm");
bool xterm = terminfo_is_term_family(term, "xterm")
// Treat Terminal.app as generic xterm-like, for now.
|| terminfo_is_term_family(term, "nsterm");
bool bsdvt = terminfo_is_bsd_console(term);
bool dtterm = terminfo_is_term_family(term, "dtterm");
bool rxvt = terminfo_is_term_family(term, "rxvt");