tput
View and modify terminal settings and capabilities. See also:
stty. More information: https://manned.org/tput.
- Move the cursor to a screen location:
tput cup
- Set foreground (af) or background (ab) color:
tput
- Reverse text and background colors:
tput rev
- Reset all terminal text attributes:
tput sgr0
- Show number of columns, lines, or colors:
tput
- Enable or disable word wrap:
tput
- Hide or show the terminal cursor:
tput
- Save or restore terminal text status (smcup also captures scroll wheel events):
tput
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
