forked from Mirrors/bubbletea
Fix renderer bug where UI could be duplicated in inline-TUIs
This commit is contained in:
parent
2896e0e8e6
commit
3647042096
|
@ -95,5 +95,6 @@ func (r *renderer) flush() {
|
|||
func (w *renderer) write(s string) {
|
||||
w.mtx.Lock()
|
||||
defer w.mtx.Unlock()
|
||||
w.buf.Reset()
|
||||
w.buf.WriteString(s)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue