When using Kitty, I cannot open htop with superuser privileges. I get the error Error opening terminal: xterm-kitty.. I discovered that the reason behind this is that $TERMINFO is not set for sudo. Is there a way to automatically forward this for sudo? (-E does not forward terminfo because of security concerns).
Kitty Version: 0.12.2
OS: MacOS 10.13.6
Also using tmux, although this issue should be independent of it.
When using Kitty, I cannot open
htopwith superuser privileges. I get the errorError opening terminal: xterm-kitty.. I discovered that the reason behind this is that$TERMINFOis not set for sudo. Is there a way to automatically forward this for sudo? (-Edoes not forward terminfo because of security concerns).Kitty Version: 0.12.2
OS: MacOS 10.13.6
Also using tmux, although this issue should be independent of it.