tput sc ##记录光标位置
tput cup x y ###移动光标至x列y行
tput rc ##返回光标位置
tput civis ##隐藏光标
tput cnorm ## 显示光标
tput setaf ColorNumber## 设置前景色
tput setab ColorNumber ##设置背景色
#加粗
bold=$(tput bold)

#下划线
underline=$(tput sgr 0 1)

#重置规则
reset=$(tput sgr0)

#红色
red=$(tput setaf 1)

#绿色
green=$(tput setaf 2)

 

 

相关文章:

  • 2021-12-14
  • 2022-03-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-11
猜你喜欢
  • 2021-11-28
  • 2021-06-23
  • 2021-11-18
  • 2022-12-23
  • 2021-10-11
  • 2022-03-07
相关资源
相似解决方案