Skip to content
  • Kean Johnston's avatar
    [master] Use tput rather than hard-coded escape sequences · 833deb1f
    Kean Johnston authored
    Rather than using terminal-specific hard-coded escape sequences that are
    not guaranteed to work on all terminals, use the tput utility. Also use
    the terminal defined standout mode rather than trying to set a specific
    colour. The old way enabled bright yellow text which, while very visible
    if your background is black, is all but invisible if your terminal
    background is white.
    833deb1f