String returns the cursor mode in a human-readable format. This method is provisional and for informational purposes only.
()
| 53 | // String returns the cursor mode in a human-readable format. This method is |
| 54 | // provisional and for informational purposes only. |
| 55 | func (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. |
| 64 | type Model struct { |
nothing calls this directly
no outgoing calls
no test coverage detected