print terminal escape codes on terminals only