diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2022-10-05 11:23:04 +0300 |
---|---|---|
committer | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2022-10-05 11:23:04 +0300 |
commit | cf1b58651505a3d5799a7f6bb5b8ce964c729c51 (patch) | |
tree | 902bdeba436deb017be62fb5c3f342b0a39c2a50 /internal/wizard.zsh | |
parent | 843dcf016710a4fe39f8ad65da2929f9128436fd (diff) |
fix bugs introduced in 843dcf016710a4fe39f8ad65da2929f9128436fd
Diffstat (limited to 'internal/wizard.zsh')
-rw-r--r-- | internal/wizard.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/wizard.zsh b/internal/wizard.zsh index 99cf63ad..2bed68bf 100644 --- a/internal/wizard.zsh +++ b/internal/wizard.zsh @@ -2009,7 +2009,7 @@ fi zmodload zsh/terminfo || return -if [[ $ZSH_VERSION == (5.7.<1->*|<6->.*) && $COLORTERM == (24bit|truecolor) ]]; then +if [[ $ZSH_VERSION == (5.7.<1->*|5.<8>*|<6->.*) && $COLORTERM == (24bit|truecolor) ]]; then local -ir has_truecolor=1 else local -ir has_truecolor=0 |