Set sets the cursor position.
(view string, x, y int)
| 78 | |
| 79 | // Set sets the cursor position. |
| 80 | func (c Cursors) Set(view string, x, y int) { |
| 81 | c[view] = struct{ x, y int }{x, y} |
| 82 | } |
| 83 | |
| 84 | // UI represent the state of the ui. |
| 85 | type UI struct { |
no outgoing calls