$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 ist eine Zsh IDE mit Unterstützung für $ZCURSES_COLORS - probieren Sie es jetzt aus!