Up moves the cursor n lines up relative to the current position.
(n int)
| 10 | |
| 11 | // Up moves the cursor n lines up relative to the current position. |
| 12 | func (c *Cursor) Up(n int) { |
| 13 | c.move(0, -n) |
| 14 | } |
| 15 | |
| 16 | // Down moves the cursor n lines down relative to the current position. |
| 17 | func (c *Cursor) Down(n int) { |