chickadee » ansi-escape-sequences » set-text

set-text attribs text #!optional (reset #t)procedure

Change the colors and attributes of text (such as bold and underline) displayed on the screen. The following attributes are available (symbols):

  • reset
  • bold
  • underscore
  • blink
  • reverse-video
  • concealed
  • fg-black
  • fg-red
  • fg-green
  • fg-yellow
  • fg-blue
  • fg-magenta
  • fg-cyan
  • fg-white
  • bg-black
  • bg-red
  • bg-green
  • bg-yellow
  • bg-blue
  • bg-magenta
  • bg-cyan
  • bg-white
  • fg-bright-black
  • fg-bright-red
  • fg-bright-green
  • fg-bright-yellow
  • fg-bright-blue
  • fg-bright-magenta
  • fg-bright-cyan
  • fg-bright-white
  • bg-bright-black
  • bg-bright-red
  • bg-bright-green
  • bg-bright-yellow
  • bg-bright-blue
  • bg-bright-magenta
  • bg-bright-cyan
  • bg-bright-white

bg- is for background. fg- is for foreground.