Skip to content

Typing becomes unresponsive after pasting text into commit description field #5412

@byungsker

Description

@byungsker

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions