Skip to content

TextView.Draw: call screen.ShowCursor when showCursor is set#11

Open
skaven81 wants to merge 1 commit into
derailed:masterfrom
skaven81:fix-textview-showcursor
Open

TextView.Draw: call screen.ShowCursor when showCursor is set#11
skaven81 wants to merge 1 commit into
derailed:masterfrom
skaven81:fix-textview-showcursor

Conversation

@skaven81

@skaven81 skaven81 commented Jun 2, 2026

Copy link
Copy Markdown

ShowCursor() and SetCursorIndex() have always stored their values but Draw() never acted on them, so the hardware terminal cursor was never positioned. This caused the prompt cursor to be invisible in k9s and any other app that uses TextView as an input widget.

See also derailed/k9s#4035

ShowCursor() and SetCursorIndex() have always stored their values but
Draw() never acted on them, so the hardware terminal cursor was never
positioned. This caused the prompt cursor to be invisible in k9s and
any other app that uses TextView as an input widget.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant