-
-
Notifications
You must be signed in to change notification settings - Fork 834
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
Blinking cursor should always reset to visible on movement #83
Comments
I'm having a go at fixing this. |
Thanks; I'm unbricking something unrelated to this atm! |
Not really sure about this. Last-moved time is purely a presentation matter, whereas cursor position is a more fundimental model thing, so I'm not sure if they should go together. wez#83
The cursor should only start blinking when its been sitting in once place; a moving cursor should always be visible. Rather than making the cursor blink relative to the creation time of the window, track its position, and use the last time it moved as the blinking timebase. Fixes wez#83
I made it purely a function of its position, rather than tying it to keypresses. |
The cursor should only start blinking when its been sitting in once place; a moving cursor should always be visible. Rather than making the cursor blink relative to the creation time of the window, track its position, and use the last time it moved as the blinking timebase. Fixes #83
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Please include as much information as possible that can help to reproduce and understand the issue;
some pointers and suggestions are included here in this template. You are empowered to include
more or less information than is asked for here!
Did something not work the way you expected?
When settings a blinking cursor mode, the cursor should always be visible after moving. The blinking is only relevant while it sits in one place in the window.
What did you try?
Set
default_cursor_style = "BlinkingUnderline"
What did you expect to happen?
Cursor blinking while idle, but visible while typing.
What actually happened?
Cursor blinking is independent of motion, and so is often invisible while typing.
The text was updated successfully, but these errors were encountered: