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

Off by one cursor placement after copypasting #297

Closed
drjaska opened this issue Jun 11, 2024 · 1 comment
Closed

Off by one cursor placement after copypasting #297

drjaska opened this issue Jun 11, 2024 · 1 comment
Labels
modalkit Issues that require an accompanying modalkit change
Milestone

Comments

@drjaska
Copy link

drjaska commented Jun 11, 2024

When copypasting text anywhere (tested commands and insert mode) the cursor shifts with the copypaste but it's one character too little.

For example with | signifying current cursor position after I have written hello | and paste in iamb the current text will be hello iam|b instead of the correct hello iamb|. Continuing to type after this would not insert text after the paste but before the paste's last character which would break any pasted words or links.

Iamb version: the latest git commit, though this is not new issue as I've had this for over a year by now.

OS: Linux / Debian Testing

Terminal: kitty 0.34.1

@ulyssa ulyssa added the modalkit Issues that require an accompanying modalkit change label Aug 1, 2024
@ulyssa ulyssa added this to the v0.0.10 milestone Aug 1, 2024
@ulyssa
Copy link
Owner

ulyssa commented Aug 12, 2024

I fixed this in ulyssa/modalkit#146. I've updated the modalkit dependency to pull it in in #319.

@ulyssa ulyssa closed this as completed Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
modalkit Issues that require an accompanying modalkit change
Projects
None yet
Development

No branches or pull requests

2 participants