-
Notifications
You must be signed in to change notification settings - Fork 633
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
Triple-clicking empty line and dragging does not set selection start #4957
Comments
I'll pick this up |
Opened a PR at #5068 which should fix this. Tested on: triple-drag-fix.mov |
mitchellh
added a commit
that referenced
this issue
Jan 20, 2025
Fixes core issue #4957. Adds a bool to `SelectLine` allowing the `selectLine` function to select lines that are empty. When starting a triple selection on an empty line the initial `selectLine` returns null because we don't see any characters, in this case we rerun `selectLine` but short circuit with the `allow_empty_lines`. We need to run `selectLine` with out allowing empty lines once because if there are characters on the line we don't want to select empty space.
This was fixed by #5068 (I don't have permissions to close this issue). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Discussed in #4938
Originally posted by injust January 10, 2025
https://github.com/user-attachments/assets/70628017-20c6-4121-99ec-be7cad062c87
Reproduction
cat README.md
(Ghostty's works)The text was updated successfully, but these errors were encountered: