mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-29 04:53:17 +02:00
fix(tmux): treat xterm-direct as 256-color
This commit is contained in:
parent
e42ac8c57b
commit
9739012193
1 changed files with 2 additions and 2 deletions
|
|
@ -87,8 +87,8 @@ _build_tmux_alias "tkss" "kill-session" "-t"
|
|||
|
||||
unfunction _build_tmux_alias
|
||||
|
||||
# Determine if the terminal supports 256 colors
|
||||
if [[ $terminfo[colors] == 256 ]]; then
|
||||
# Determine if the terminal supports at least 256 colors
|
||||
if [[ $terminfo[colors] -ge 256 ]]; then
|
||||
export ZSH_TMUX_TERM=$ZSH_TMUX_FIXTERM_WITH_256COLOR
|
||||
else
|
||||
export ZSH_TMUX_TERM=$ZSH_TMUX_FIXTERM_WITHOUT_256COLOR
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue