From 00d8aaddc3aac627b2d1b710e64700ac734180e7 Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Fri, 17 Jan 2025 15:07:33 +0300 Subject: [PATCH] fix(cellbuf): make sure we hide cursor Fixes: 4d467369eca3 (feat(cellbuf): only hide the cursor when we have queued non-zero width text) --- cellbuf/screen.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cellbuf/screen.go b/cellbuf/screen.go index 3f3c5db3..fbe3cc04 100644 --- a/cellbuf/screen.go +++ b/cellbuf/screen.go @@ -1138,7 +1138,7 @@ func (s *Screen) render() { } // Do we need text cursor mode? - if !s.opts.ShowCursor != s.cursorHidden && s.queuedText { + if !s.opts.ShowCursor != s.cursorHidden { // OPTIM: We only hide the cursor if we have queued non-zero width text. s.cursorHidden = !s.opts.ShowCursor if s.cursorHidden {