Running env TERM=screen-256color lfdoesn't raise the error but any inner child process of lf reads TERM=screen-256color in it's environment. This means that this env wrapping wouldn't be much helpful because I often use Lf to browse files and edit them, expecting to see italics.
Would solving this be easy by just adding an entry here:
I use Lf which depends on termbox. I set in my
.tmux.conf
the following:Using Rxvt-unicode and tmux inside it, get this error when starting
lf
:If I use a different terminal emulator (say, Alacritty), I don't get this error.
If I use the following in my
.tmux.conf
:In either urxvt / alacritty, I don't get that error from
lf
.To summarize, only the combination of:
$TERM=tmux-256color
(because ofset -f terminal-default tmux-256color
in.tmux.conf
)Causes the error.
I wouldn't mind that much if italics would have worked with tmux inside urxvt when using
screen-256color
$TERM
/`default-terminal. Sfee this FAQ: https://github.com/tmux/tmux/blob/2.1/FAQ#L355-L383Running
env TERM=screen-256color lf
doesn't raise the error but any inner child process oflf
readsTERM=screen-256color
in it's environment. This means that thisenv
wrapping wouldn't be much helpful because I often use Lf to browse files and edit them, expecting to see italics.Would solving this be easy by just adding an entry here:
https://github.com/nsf/termbox-go/blob/5a49b82160547cc98fca189a677a1c14eff796f8/terminfo.go#L113-L126
?