forked from Mirrors/bubbletea
Move cursor in a relative fashion in standard render (fixes inline rendering)
This commit is contained in:
parent
719d246edd
commit
05f3028452
|
@ -155,7 +155,7 @@ func (r *renderer) flush() {
|
|||
|
||||
// Make sure the cursor is at the start of the last line to keep rendering
|
||||
// behavior consistent.
|
||||
moveCursor(out, r.linesRendered, 0)
|
||||
cursorBack(out, r.width)
|
||||
|
||||
_, _ = r.out.Write(out.Bytes())
|
||||
r.lastRender = r.buf.String()
|
||||
|
|
Loading…
Reference in New Issue