diff options
| author | citrons <citrons@mondecitronne.com> | 2025-06-04 12:20:38 -0500 |
|---|---|---|
| committer | citrons <citrons@mondecitronne.com> | 2025-06-07 16:02:18 -0500 |
| commit | de2aaa40b135e8bbe944bbc5fca45105c9c7048a (patch) | |
| tree | 0e39299ffe4986ece7e2bc0ad3234014d7218724 | |
| parent | 3fba023a229a5aa69658c6e34bdf95e8fe6c258f (diff) | |
fix bandwidth issue
| -rw-r--r-- | tui/draw.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tui/draw.go b/tui/draw.go index d30e0eb..2aa3376 100644 --- a/tui/draw.go +++ b/tui/draw.go @@ -176,7 +176,11 @@ func Present() error { if p.x + cw > s.Width { c.c = " " } - if c != scr.back[p] || scr.prevSize != s { + b := scr.back[p] + if b.c == "" { + b.c = " " + } + if c != b || scr.prevSize != s { switch { case reset: writeCursor(p.x, p.y) |
