Open kdheepak opened 1 year ago
f002cd3e4c TERMINALS.md (nick black 2021-10-20 03:49:09 -0400 173)
f002cd3e4c TERMINALS.md (nick black 2021-10-20 03:49:09 -0400 174) You're recommented to change "Report terminal type" to `iterm2`.
f002cd3e4c TERMINALS.md (nick black 2021-10-20 03:49:09 -0400 175)
hrmmm. i definitely wrote this. the question is whether i actually knew what i was talking about when i wrote it. i am no user of iterm. let me see what we do with this information, if anything...
looking at src/lib/in.c
, it appears we recognize TERMINAL_ITERM
based off an XTVERSION
response.
terminfo does have an iterm2
(and iterm
) entry, pointing to iTerm2.app
and iTerm.app
respectively:
lrwxrwxrwx 1 root root 9 2023-01-25 15:21 iterm -> iTerm.app
lrwxrwxrwx 1 root root 10 2023-01-25 15:21 iterm2 -> iTerm2.app
-rw-r--r-- 1 root root 2545 2023-01-25 15:21 iTerm2.app
-rw-r--r-- 1 root root 2602 2023-01-25 15:21 iterm2-direct
-rw-r--r-- 1 root root 1857 2023-01-25 15:21 iTerm.app
is it even possible to type it in in that widget?
when you run notcurses-info
, does it definitely recognize iterm2? can you give me a screenshot or a cut-and-paste?
thanks!
It looks like it is possible to type in that widget btw.
I restarted the terminal after typing that in and I think I’m seeing no difference. So that’s good I guess?
Please include the following data:
export | egrep 'LANG|LC_CTYPE|TERM'
notcurses-demo i
)When I drop down the options for
Report Terminal Type
I don't see an option to set it toiterm2
.In the documentation it seems like it is recommended to being set as
iterm2
https://github.com/dankamongmen/notcurses/blob/32eba71d312d4d783feb7b4244cdc425de481c86/TERMINALS.md?plain=1#L172-L181
https://github.com/dankamongmen/notcurses/blob/32eba71d312d4d783feb7b4244cdc425de481c86/TERMINALS.md#iterm2
Is the recommendation to type it in regardless?