From 90688bc81a13e484608949dff27f69e5afe8efd4 Mon Sep 17 00:00:00 2001 From: Caleb Foust Date: Tue, 14 Nov 2023 20:28:58 -0500 Subject: [PATCH] feat: don't always use cursor state --- pkg/mux/screen/replay/view.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/mux/screen/replay/view.go b/pkg/mux/screen/replay/view.go index 13bc9a0a..91d080ad 100644 --- a/pkg/mux/screen/replay/view.go +++ b/pkg/mux/screen/replay/view.go @@ -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