Tput

tput

Arguments

  • $1 (string): tput capability name (terminfo style)
  • $2 (string): Optional: argument to the capability (e.g. colour index for setaf/setab)

Exit codes

  • 0: Capability sent successfully
  • 1: Capability not supported