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

Make the blinking cursor optional in input and write #367

Closed
dbohdan opened this issue Jun 5, 2023 · 2 comments · Fixed by #368
Closed

Make the blinking cursor optional in input and write #367

dbohdan opened this issue Jun 5, 2023 · 2 comments · Fixed by #368

Comments

@dbohdan
Copy link

dbohdan commented Jun 5, 2023

I dislike blinking cursors, especially blinking block cursors. I am sure I am not the only one: microsoft/terminal#1379. It also feels jarringly inconsistent with the rest of my system in a way that, for example, a different color palette does not.

It would be nice to have a command-line option and an environment variable to disable blinking in input and write. Alternatively, you could implement a "reduce motion" mode that disabled all animations, current and future. There are upsides and downsides to being less granular. People who want to disable one animation often want to disable all animations, but not always.

@maaslalani
Copy link
Contributor

maaslalani commented Jun 5, 2023

Hey this is now fixed on main by #368

You can now do stuff like:

gum input --cursor.mode static
gum input --cursor.mode hide
gum write --cursor.mode blink

@dbohdan
Copy link
Author

dbohdan commented Jun 5, 2023

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

Successfully merging a pull request may close this issue.

2 participants