Skip to content

TextArea Cursor/Caret Symbol — Change from Block () to Beam () #4568

Answered by davep
Humboldt-Penguin asked this question in Q&A
Discussion options

You must be logged in to vote

Searching the source code, the block character likely originates from src/textual/_border.py or src/textual/widgets/_rule.py, but I can't find the code that actually renders it to screen.

The cursor for TextArea is handled by the source for TextArea, not sure how you got to those files from there.

The cursor isn't a character, it's a changing of the background colour of the cell the cursor is on. If the cursor was a character you wouldn't be able to see the character it was on.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Humboldt-Penguin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants