Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customize text input cursor icon #23

Open
tmoux opened this issue Jan 20, 2024 · 3 comments
Open

Customize text input cursor icon #23

tmoux opened this issue Jan 20, 2024 · 3 comments

Comments

@tmoux
Copy link

tmoux commented Jan 20, 2024

Is there a way to customize the text input cursor icon (the little teardrop cursor)? It seems like we can change the color using the CURSOR_COLOR theme variable, but I don't see how to change the icon itself. I would like to change it to a standard line cursor.

@sanette
Copy link
Owner

sanette commented Jan 21, 2024

It's not possible, currently. Although it should not be very difficult to implement.

@sanette
Copy link
Owner

sanette commented Jan 21, 2024

You can just change the fontawsome symbol "tint" here to any other symbol you like:

cursor_char = Theme.fa_symbol "tint";

See https://lab.artlung.com/font-awesome-sample/

For instance, "i-cursor"
(but this will require adjusting the vertical offset I suppose)

@tmoux
Copy link
Author

tmoux commented Jan 21, 2024

Ok, thanks

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

No branches or pull requests

2 participants