Generate terminal escape sequences with tput