mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-02 02:59:09 -07:00
Move cursor in a relative fashion in standard render (fixes inline rendering)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user