Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

通过 xshell 连接发现主题很难看的解决办法 #3

Open
mzhboy opened this issue Nov 19, 2024 · 1 comment
Open

通过 xshell 连接发现主题很难看的解决办法 #3

mzhboy opened this issue Nov 19, 2024 · 1 comment

Comments

@mzhboy
Copy link

mzhboy commented Nov 19, 2024

通过 xshell 连接发现主题很难看,原来是没有 truecolor 支持的缘故,自 xshell7 开始支持真彩色,把这个启用后颜色就正常了。tmux也可以配置一下。
.tmux.conf 文件加入

set -g default-terminal "screen-256color"
set -ga terminal-overrides ",xterm-256color*:Tc"

xshell 配置

Snipaste_2024-11-19_08-24-44

@NewComer00
Copy link
Owner

感谢您的补充!您可以在 https://github.com/termstandard/colors 仓库中找到真彩色终端的更多信息(^_^)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants