-
Notifications
You must be signed in to change notification settings - Fork 0
Text Colors and Attributes
-
$self
->setForeground
($color
)Set foreground color to
$color
. -
$self
->setBackground
($color
)Set background color to
$color
. -
$self
->setColor
($foreground
,$background
)Set both colors to
$foreground
and$background
. -
$self
->setStandout
($on
)Set or clear standout mode depending on the value of
$on
switch. -
$self
->setUnderline
($on
)Set or clear underline mode depending on the value of
$on
switch. -
$self
->setReverse
($on
)Set or clear reverse mode depending on the value of
$on
switch. -
$self
->setBlink
($on
)Set or clear blink mode depending on the value of
$on
switch.h. -
$self
->setAttribute
($attribute
)Set or clear attributes mode depending on the value of
$attribute
mask. Valid masks areATTR_NORMAL
,ATTR_STANDOUT
,ATTR_UNDERLINE
,ATTR_REVERSE
,ATTR_BLINK
,ATTR_DIM
,ATTR_BOLD
,ATTR_ALTCHARSET
,ATTR_INVISIBLE
,ATTR_PROTECT
.