String returns the hex representation of the color.
()
| 86 | |
| 87 | // String returns the hex representation of the color. |
| 88 | func (e CursorColorMsg) String() string { |
| 89 | return uv.CursorColorEvent(e).String() |
| 90 | } |
| 91 | |
| 92 | // IsDark returns whether the color is dark. |
| 93 | func (e CursorColorMsg) IsDark() bool { |