必须首先保存当前的光标位置。
在显示了这些信息之后,光标必须返回到使用tput sc保存的原始位置。
When the information has been displayed, the cursor must return to the original location that was saved with tput sc.
要使光标返回到其上次保存的位置,请包括 rc 选项或“restore cursor position”。
To return the cursor to its last saved location, include the rc option, or "restore cursor position."
应用推荐