2
0
mirror of https://github.com/pepa65/tldr-bash-client.git synced 2024-09-27 18:31:30 +02:00

Removed comment reference to tput

This commit is contained in:
pepa65 2017-02-06 10:32:21 +07:00
parent 99a2c53552
commit b5e5b6ebf5

1
tldr
View File

@ -71,7 +71,6 @@ Style(){ # $1: Style specification
} }
Init_term(){ Init_term(){
# Term codes with tput according to http://mywiki.wooledge.org/BashFAQ/037
[[ -t 2 ]] && { # only if interactive session (stderr open) [[ -t 2 ]] && { # only if interactive session (stderr open)
B=$'\e[1m' # $(tput bold || tput md) # Start bold B=$'\e[1m' # $(tput bold || tput md) # Start bold
XB=$'\e[0m' # End bold (no tput code...) -- needs echo -e XB=$'\e[0m' # End bold (no tput code...) -- needs echo -e