kingToolbox / kingToolbox/WindTerm

Ctrl+Backspace doesn't work

Open
#844 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
32.3k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

使用`showkey -a`命令在zsh下读按键键值 ,发现`BackSpace` 与 `Ctrl+Backspace` 键值都是 `^?`,在windterm下也不能以 `Ctrl+Backspace` 删除一个word,只能删除一个字符。

![image](https://user-images.githubusercontent.com/40953718/175824203-fd501a77-f693-4475-a66f-305d9d0c0ae0.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the behavior with `showkey -a` under zsh and compare the reported values for BackSpace and Ctrl+Backspace, then verify the same behavior in WindTerm. Trace where terminal key input is interpreted; the issue is done when Ctrl+Backspace removes one word rather than one character.

Written by the indexing model from the issue text.

Assessment

Tech stack
zsh
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.