macvim-dev / macvim-dev/macvim
shift-space produces escape sequence in terminal
未关闭
还没有人认领这个 Issue。
- 主要语言
- Vim Script
- 星标
- 7.9k
- 派生
- 691
- PR 合并指标
- 30 天内没有已合并 PR
描述
Steps to reproduce
- start macvim gui
- enter
:term<enter>to start terminal mode - enter
od -c<enter>to start octal dump - enter -space followed by followed by -D to end input
- observe output
% od -c
^[[32;2u
0000000 033 [ 3 2 ; 2 u \n
0000010
Expected behaviour
I expect shift-space to produce a space character, 020
% od -t x1
0000000 20 0a
0000002
Version of Vim
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Sep 24 2021 14:13:28) Included patches: 1-3455
Environment
OS: MacOS 10.15.7 and 12.0.1
terminal: MacVim 8.2.3455
TERM: xterm
shell: GNU bash, version 5.1.12(1)-release (x86_64-apple-darwin21.1.0)
FWIW I tried a vanilla env without .bashrc .bash_profile and .vimrc with same result
Logs and stack traces
No response
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,在 MacVim 的终端模式下使用 od -c 重现报告的序列,并在可用时使用列出的 macOS 和 Vim 版本。跟踪 Shift-Space 在哪里被转换为发出的转义序列,并验证终端实际接收到的是空格字符;重现输出提供完成检查。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- macos, vim
- 领域
- cli, desktop, operating-systems
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100