ClearLine clears the current line and moves the cursor to it's start position.
()
| 58 | |
| 59 | // ClearLine clears the current line and moves the cursor to it's start position. |
| 60 | func (c *Cursor) ClearLine() { |
| 61 | fmt.Fprintf(c.writer, "\x1b[2K") |
| 62 | } |
| 63 | |
| 64 | // Clear clears the current position and moves the cursor to the left. |
| 65 | func (c *Cursor) Clear() { |
no outgoing calls
no test coverage detected