microsoft / microsoft/terminal

Control key getting "stuck" for enter/tab key?

Open
#16,385 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Input Help Wanted Issue-Bug Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

### Windows Terminal version

1.18.3181.0

### Windows build number

10.0.22631.0

### Other Software

_No response_

### Steps to reproduce

`Winget install ‘KDE.Kdiff3’`

Open razzle (not sure if this matters)

`Git config --edit --local`

```
[diff]
tool = kdiff3
autoRefreshIndex = true
[difftool]
prompt = false
[difftool "kdiff3"]
path = C:/Users/jeffmill/AppData/Local/KDiff3/bin/kdiff3.exe
cmd = \"C:/Users/jeffmill/AppData/Local/KDiff3/bin/kdiff3.exe\" \"$LOCAL\" \"$REMOTE\"
```

(modify paths accordingly, of course)

`git difftool 66f7252e212f6~1..66f7252e212f6`

(use a suitable diff that contains multiple changes in it)

Kdiff3 will open and block the console.

Focus on terminal window and press Ctrl-Break

Focus on Kdiff3 window and press Ctrl-Q

Focus on Terminal window and Press Enter a bunch of times – you should see “mmmm”

### Expected Behavior

enter key should work as expected.

### Actual Behavior

mmmm is shown.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported sequence with Windows Terminal 1.18.3181.0: run the KDiff3 git difftool, send Ctrl-Break and Ctrl-Q, then press Enter repeatedly. Trace how the terminal handles those key events and verify that Enter no longer produces repeated “m” characters.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, git
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.