mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-02 02:59:09 -07:00
Fix renderer bug where UI could be duplicated in inline-TUIs
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user