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

Method Show

cursor_other.go:48–50  ·  view source on GitHub ↗

Show the cursor if it was hidden previously. Don't forget to show the cursor at least at the end of your application. 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

46// Don't forget to show the cursor at least at the end of your application.
47// Otherwise the user might have a terminal with a permanently hidden cursor, until they reopen the terminal.
48func (c *Cursor) Show() {
49 fmt.Fprint(c.writer, "\x1b[?25h")
50}
51
52// Hide the cursor.
53// Don't forget to show the cursor at least at the end of your application with Show.

Callers 1

ShowFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected