CommandCodeAI / CommandCodeAI/command-code
Improve Korean (Hangul) input in the terminal — composing text is not visible
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 4k
- Fork
- 350
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Request
Korean (Hangul) input in the interactive prompt is hard to use: the IME composing (pre-edit) text is not shown in the input box, so you cannot see what you are typing until each syllable/word is committed. The same terminal works fine with Codex and Claude Code.
Please improve Hangul input handling in the terminal TUI so composing text is visible while typing.
Environment
- Command Code 1.56.0 (latest)
- macOS arm64 (Darwin 25.6.0)
- iTerm2 3.6.11,
TERM=xterm-256color,LANG=ko_KR.UTF-8, Korean 2-set IME
Steps to reproduce
- Run
cmdin iTerm2 with the Korean IME active - Focus the prompt input and type
한글 - No pre-edit is displayed while composing - only the committed text appears
Notes
dist/cli.mjshas no composition handling at all (isComposing,compositionupdate,preedit,markedText: zero occurrences), and the kitty keyboard protocol is pushed at startup (resolveKittyKeyboardwithdisambiguateEscapeCodes). There is no setting, config key, or env var to opt out.ctrl+g(external editor) is the only usable workaround right now.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện vấn đề trong prompt tương tác với IME tiếng Hàn 2-set, sau đó kiểm tra dist/cli.mjs và đường dẫn khởi động quanh resolveKittyKeyboard và disambiguateEscapeCodes. Theo dõi cách dữ liệu đầu vào từ terminal đến TUI và xác định nơi các sự kiện ghép được xử lý. Công việc được hoàn tất khi văn bản tiền biên tập Hangul hiển thị trong lúc gõ và văn bản đã xác nhận vẫn hoạt động chính xác.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Lĩnh vực
- cli
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 52/100