macvim-dev / macvim-dev/macvim
Some keypresses do not get pressed when using applescript to type out keys
Open
Nobody has claimed this yet.
Input
- Dominant language
- Vim Script
- Stars
- 7.9k
- Forks
- 691
- PR merge metrics
- No merged PRs in 30d
Description
Run this from the terminal and then wait a few seconds
mvim -u NONE; sleep 2; osascript -e 'tell application "System Events" to keystroke "aThis text should get typed out in insert mode"'
and you see this as a result
which clearly does not show all of the text that should get typed out
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the terminal command using mvim and osascript, then trace MacVim's handling of the generated keypresses. Confirm completion when the full text reaches the editor in insert mode without dropped characters.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, vim
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100