Skip to content

Commit

Permalink
fix(cellbuf): make sure we hide cursor
Browse files Browse the repository at this point in the history
Fixes: 4d46736 (feat(cellbuf): only hide the cursor when we have queued non-zero width text)
  • Loading branch information
aymanbagabas committed Jan 17, 2025
1 parent 03d64dd commit 00d8aad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cellbuf/screen.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 00d8aad

Please sign in to comment.