diff --git a/terminal/cursor.go b/terminal/cursor.go index 1bc427c9..1ac74fd6 100644 --- a/terminal/cursor.go +++ b/terminal/cursor.go @@ -43,11 +43,13 @@ func (c *Cursor) Back(n int) { // NextLine moves cursor to beginning of the line n lines down. func (c *Cursor) NextLine(n int) { c.Down(1) + c.HorizontalAbsolute(0) } // PreviousLine moves cursor to beginning of the line n lines up. func (c *Cursor) PreviousLine(n int) { c.Up(1) + c.HorizontalAbsolute(0) } // HorizontalAbsolute moves cursor horizontally to x.