Skip to content

Commit

Permalink
feat: don't always use cursor state
Browse files Browse the repository at this point in the history
  • Loading branch information
cfoust committed Nov 15, 2023
1 parent 887d50a commit 90688bc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/mux/screen/replay/view.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,9 @@ func (r *Replay) View(state *tty.State) {
state.Cursor = r.terminal.Cursor()
state.Cursor.X = termCursor.C
state.Cursor.Y = termCursor.R
state.CursorVisible = r.terminal.CursorVisible()
if r.isPlaying {
state.CursorVisible = r.terminal.CursorVisible()
}
}

// Show the selection state
Expand Down

0 comments on commit 90688bc

Please sign in to comment.