macvim-dev / macvim-dev/macvim
Some keypresses do not get pressed when using applescript to type out keys
未关闭
还没有人认领这个 Issue。
Input
- 主要语言
- Vim Script
- 星标
- 7.9k
- 派生
- 691
- PR 合并指标
- 30 天内没有已合并 PR
描述
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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
使用 mvim 和 osascript 通过终端命令重现该问题,然后跟踪 MacVim 对生成的按键操作的处理过程。当完整文本在没有丢失字符的情况下到达处于插入模式的编辑器时,确认完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- macos, vim
- 领域
- desktop, operating-systems
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100