CommandCodeAI / CommandCodeAI/command-code
Improve Korean (Hangul) input in the terminal — composing text is not visible
まだ誰も着手していません。
- 主要言語
- 言語のデータがありません
- スター
- 4k
- フォーク
- 350
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、韓国語の2-set IMEを使ってインタラクティブプロンプトで問題を再現し、次に dist/cli.mjs と resolveKittyKeyboard および disambiguateEscapeCodes 周辺の起動パスを調べます。ターミナル入力がどのようにTUIへ到達するかを追跡し、コンポジションイベントが処理される箇所を特定します。入力中にHangulのプリエディットテキストが表示され、確定したテキストも引き続き正しく動作すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 52/100