CommandCodeAI / CommandCodeAI/command-code

Improve Korean (Hangul) input in the terminal — composing text is not visible

オープン
#880 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
言語のデータがありません
スター
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

  1. Run cmd in iTerm2 with the Korean IME active
  2. Focus the prompt input and type 한글
  3. No pre-edit is displayed while composing - only the committed text appears

Notes

  • dist/cli.mjs has no composition handling at all (isComposing, compositionupdate, preedit, markedText: zero occurrences), and the kitty keyboard protocol is pushed at startup (resolveKittyKeyboard with disambiguateEscapeCodes). There is no setting, config key, or env var to opt out.
  • ctrl+g (external editor) is the only usable workaround right now.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、韓国語の2-set IMEを使ってインタラクティブプロンプトで問題を再現し、次に dist/cli.mjs と resolveKittyKeyboard および disambiguateEscapeCodes 周辺の起動パスを調べます。ターミナル入力がどのようにTUIへ到達するかを追跡し、コンポジションイベントが処理される箇所を特定します。入力中にHangulのプリエディットテキストが表示され、確定したテキストも引き続き正しく動作すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

領域
cli
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
52/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。