Skip to content

Fix modal keyboard interface broken by #1094 #1213

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

Merged
merged 2 commits into from
Jan 6, 2023

Conversation

pokey
Copy link
Member

@pokey pokey commented Jan 5, 2023

We were using the equivalent of "take this" to set the target to be the current selection when you enter cursorless keyboard mode, but that obviously broke when we made "take this" refer to token. This PR effectively changes the command we use to "highlight just this"

Checklist

@pokey pokey force-pushed the pokey/fix-modal-keyboard-interface-broken-by-1094 branch from 4cc71da to e984d36 Compare January 5, 2023 21:35
@auscompgeek
Copy link
Member

auscompgeek commented Jan 6, 2023

For posterity, this is fixing the empty selection being expanded to the current token instead of starting modal keyboard mode, when the cursor is on a token. (Starting modal keyboard mode on an empty line still works before this fix.)

@pokey pokey merged commit c2e930f into main Jan 6, 2023
@pokey pokey deleted the pokey/fix-modal-keyboard-interface-broken-by-1094 branch January 6, 2023 09:38
@pokey pokey added the bug Something isn't working label Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants