MCPcopy Create free account
hub / github.com/atomicgo/cursor / Hide

Function Hide

utils.go:68–70  ·  view source on GitHub ↗

Hide the cursor. Don't forget to show the cursor at least at the end of your application with Show. Otherwise the user might have a terminal with a permanently hidden cursor, until they reopen the terminal.

()

Source from the content-addressed store, hash-verified

66// Don't forget to show the cursor at least at the end of your application with Show.
67// Otherwise the user might have a terminal with a permanently hidden cursor, until they reopen the terminal.
68func Hide() {
69 cursor.Hide()
70}
71
72// ClearLine clears the current line and moves the cursor to it's start position.
73func ClearLine() {

Callers 1

TestCustomIOWriterFunction · 0.85

Calls 1

HideMethod · 0.45

Tested by 1

TestCustomIOWriterFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…