MCPcopy Create free account
hub / github.com/charmbracelet/bubbles / String

Method String

cursor/cursor.go:55–61  ·  view source on GitHub ↗

String returns the cursor mode in a human-readable format. This method is provisional and for informational purposes only.

()

Source from the content-addressed store, hash-verified

53// String returns the cursor mode in a human-readable format. This method is
54// provisional and for informational purposes only.
55func (c Mode) String() string {
56 return [...]string{
57 "blink",
58 "static",
59 "hidden",
60 }[c]
61}
62
63// Model is the Bubble Tea model for this cursor element.
64type Model struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected