mirror of
https://github.com/neovim/neovim.git
synced 2024-12-25 13:45:15 -07:00
TUI: support TERM=nsterm (#9244)
`:help $TERM` recommends TERM=nsterm for Terminal.app but we did not actually support it. NB: We don't include a builtin term for Terminal.app, presumably because nsterm is commonly available on most systems (`infocmp nsterm`).
This commit is contained in:
parent
344dd2757a
commit
463d28cc80
@ -1466,7 +1466,9 @@ static void patch_terminfo_bugs(TUIData *data, const char *term,
|
||||
#if 0 // We don't need to identify this specifically, for now.
|
||||
bool roxterm = !!os_getenv("ROXTERM_ID");
|
||||
#endif
|
||||
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 kitty = terminfo_is_term_family(term, "xterm-kitty");
|
||||
bool linuxvt = terminfo_is_term_family(term, "linux");
|
||||
bool rxvt = terminfo_is_term_family(term, "rxvt");
|
||||
|
Loading…
Reference in New Issue
Block a user