diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-12-11 03:06:35 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-12-16 07:07:24 +0100 |
commit | 3f55010cda120d0ccb35f9e24d93cee33f3aa17b (patch) | |
tree | c6bd0e8fb3e34f47b86e5b3108ecdf0d5033bf47 | |
parent | ab7da4c53138768f5b502b880a607048c2183632 (diff) | |
download | rneovim-3f55010cda120d0ccb35f9e24d93cee33f3aa17b.tar.gz rneovim-3f55010cda120d0ccb35f9e24d93cee33f3aa17b.tar.bz2 rneovim-3f55010cda120d0ccb35f9e24d93cee33f3aa17b.zip |
TUI: TERM=nsterm
Treat TERM=nsterm the same way in augment_terminfo() and
patch_terminfo_bugs().
ref #9244 463d28cc8079
-rw-r--r-- | src/nvim/tui/tui.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/tui/tui.c b/src/nvim/tui/tui.c index 405d853148..4aff2d264b 100644 --- a/src/nvim/tui/tui.c +++ b/src/nvim/tui/tui.c @@ -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"); |