macOS / binaries /

tput

/usr/bin/tput
Initialize a terminal or query terminfo database

The tput utility uses the terminfo database to make the values of terminal-dependent capabilities and information available to the shell, to initialize or reset the terminal, or return the long name of the requested terminal type.

source: man