termcolors: adapt to latest tset and fix output
This commit is contained in:
parent
945e441173
commit
0d7fd8f76a
@ -12,18 +12,18 @@
|
||||
|
||||
printf " fg on bg "
|
||||
for i in 0 1 2 3 4 5 6 7; do
|
||||
tput setab $i 0 0
|
||||
tput setab $i
|
||||
printf " "
|
||||
done
|
||||
printf "\n"
|
||||
tput sgr0
|
||||
printf "\n"
|
||||
|
||||
tput rev
|
||||
printf " bg on fg "
|
||||
tput sgr0
|
||||
for i in 0 1 2 3 4 5 6 7; do
|
||||
tput setab $((i + 8)) 0 0
|
||||
tput setab $((i + 8))
|
||||
printf " "
|
||||
done
|
||||
printf "\n"
|
||||
tput sgr0
|
||||
printf "\n"
|
||||
|
Loading…
Reference in New Issue
Block a user