-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Typing becomes unresponsive after pasting text into commit description field #5412
Copy link
Copy link
Open
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
- Open lazygit and stage some changes
- Press
cto open the commit panel - Type a commit summary in the summary field
- Press
Tabto move focus to the commit description field - Paste multi-line Korean text from clipboard (Cmd+V), e.g.:
한글(CJK) 텍스트에서만 발생하는 것으로 수정 영문 붙여넣기는 정상 동작한다는 점 명시 재현 단계에 한글 예시 텍스트 추가 - Try to type additional text → keyboard input is frozen
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 Freezes when pasting a string that includes a line breaks #4216 (freeze when pasting strings with line breaks), but specifically occurs in the description field with CJK characters
- Related issues: Crash/Hang when pasting multi-line string in commit-title field #4260, Paste multiline commit message in reword is dangerous #4066, Pasting multiple lines into commit summary field executes commands #3151
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels