$zcurses_colors  –  Colors supported by zsh/curses

$zcurses_colors contains the colors supported by the zsh/curses module.

Examples

Print number of colors supported by the terminal
1
2
zmodload zsh/curses
typeset zcurses_colors
Output:
1
zcurses_colors=( black red green yellow blue magenta cyan white default )
BashSupport Pro 是一款支持 zcurses_colors** 的 **Zsh 集成开发环境 - 立即试用
© 2020–2024 Joachim Ansorg
声明
隐私政策
许可条款