jesseduffield / jesseduffield/lazygit

Typing becomes unresponsive after pasting text into commit description field

Open
#5,412 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

**Describe the bug**

After pasting text containing Korean (CJK) characters (via Cmd+V) into the commit description field, keyboard input becomes completely unresponsive. The pasted text appears correctly, but any subsequent typing is ignored. The only way to recover is to quit and restart lazygit.

**To Reproduce**

1. Open lazygit and stage some changes
2. Press `c` to open the commit panel
3. Type a commit summary in the summary field
4. Press `Tab` to move focus to the commit description field
5. Paste multi-line Korean text from clipboard (Cmd+V), e.g.:
```
한글(CJK) 텍스트에서만 발생하는 것으로 수정
영문 붙여넣기는 정상 동작한다는 점 명시
재현 단계에 한글 예시 텍스트 추가
```
6. Try to type additional text → keyboard input is frozen

Image

**Note:** Pasting English-only text into the description field works fine. The issue only occurs with Korean (CJK) characters.

**Expected behavior**

After pasting text into the commit description field, typing should continue to work normally regardless of the language.

**Version info**

```
commit=, build date=, build source=Homebrew, version=0.58.0, os=darwin, arch=arm64, git version=2.44.0
```

**Terminal info**

VSCode integrated terminal
- VSCode 1.111.0 (Universal)
- Electron: 39.6.0
- Chromium: 142.0.7444.265
- Node.js: 22.22.0
- OS: Darwin arm64 25.3.0

**Additional context**

- Only reproducible with Korean (CJK) text — English-only text pastes work fine
- This may be related to #4216 (freeze when pasting strings with line breaks), but specifically occurs in the **description field** with CJK characters
- Related issues: #4260, #4066, #3151

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.