kingToolbox / kingToolbox/WindTerm
vi编辑文件时,按Esc触发删除操作,功能与退出编辑模式有冲突
Open
- Dominant language
- C
- Stars
- 32.3k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
版本2.4.1
操作步骤:使用vi或者vim打开一个文本文件,上下键移动光标到某一行,当鼠标同时选中所在行的字符时,此时按键盘Esc键,该选中的字符将被删除
影响:
一般从编辑模式推出到普通模式都是按Esc,操作较快情况下,极易发生误删除且没有被发现的情况。
其他Item2,相同操作没有这个问题。麻烦看看什么原因,如何屏蔽这个功能。
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue in WindTerm 2.4.1 by opening a text file with vi or vim, selecting text with the mouse, and pressing Esc. Inspect the terminal's keyboard and selection handling; done means Esc exits editing mode without deleting the selected characters.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100