Skip to content

kitty sudo htop cannot open terminal #1024

@dqian96

Description

@dqian96

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions