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 "
|
printf " fg on bg "
|
||||||
for i in 0 1 2 3 4 5 6 7; do
|
for i in 0 1 2 3 4 5 6 7; do
|
||||||
tput setab $i 0 0
|
tput setab $i
|
||||||
printf " "
|
printf " "
|
||||||
done
|
done
|
||||||
printf "\n"
|
|
||||||
tput sgr0
|
tput sgr0
|
||||||
|
printf "\n"
|
||||||
|
|
||||||
tput rev
|
tput rev
|
||||||
printf " bg on fg "
|
printf " bg on fg "
|
||||||
tput sgr0
|
tput sgr0
|
||||||
for i in 0 1 2 3 4 5 6 7; do
|
for i in 0 1 2 3 4 5 6 7; do
|
||||||
tput setab $((i + 8)) 0 0
|
tput setab $((i + 8))
|
||||||
printf " "
|
printf " "
|
||||||
done
|
done
|
||||||
printf "\n"
|
|
||||||
tput sgr0
|
tput sgr0
|
||||||
|
printf "\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user