$ZCURSES_COLORS
–
Maximum number of colors supported by the terminal
$ZCURSES_COLORS
contains the number of colors supported by the terminal.
The value becomes available when zcurses init
is run.
Links
Examples
- Print number of colors supported by the terminal
- Output:
1 2 3
zmodload zsh/curses zcurses init typeset ZCURSES_COLORS
1
ZCURSES_COLORS=256
BashSupport Pro 是一款支持 ZCURSES_COLORS** 的 **Zsh 集成开发环境 - 立即试用!