Seedbox-Components/Miscellaneous/tput.sh

29 lines
370 B
Bash
Raw Normal View History

2021-08-05 02:39:27 +08:00
#!/bin/sh
function warn_1 {
tput sgr0; tput setb 4; tput bold
}
function warn_2 {
tput sgr0; tput setaf 1
}
function normal_1 {
2021-08-05 02:47:10 +08:00
tput sgr0; tput setaf 2; tput bold
2021-08-05 02:39:27 +08:00
}
function normal_2 {
tput sgr0; tput setaf 3; tput dim
}
function normal_3 {
tput sgr0; tput setaf 6
}
function normal_4 {
tput sgr0
}
2021-08-05 02:45:37 +08:00
function need_input {
2021-08-05 02:39:27 +08:00
tput sgr0; tput setb 5; tput bold
2021-08-05 02:45:37 +08:00
}