要使光标不可见,请使用civis选项(例如,tput civis)。
To make the cursor invisible, use the civis option (for example, tput civis).
此函数中演示的内容还包括:将光标转变为不可见,清除屏幕,打印文本,以及返回到保存的光标位置。
Also demonstrated in this function are turning the cursor invisible, clearing the screen, printing text, and returning to the saved cursor location.
不可见的光标现在移动到(3,10),此位置将被保存,然后光标将移动到(0,0)(左上角)。
The invisible cursor is now moved to 3, 10, the location is saved, and then the cursor is moved to 0, 0 (top left).
将光标转换为不可见可以使数据滚动时的屏幕看起来更整洁。
Turning the cursor invisible creates a cleaner look when data is scrolling across the screen.
光标将转换为不可见,并且屏幕将被清除。
光标将转换为不可见,并且屏幕将被清除。
应用推荐