CommandCodeAI / CommandCodeAI/command-code
Improve Korean (Hangul) input in the terminal — composing text is not visible
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Keine Sprachdaten
- Sterne
- 4k
- Forks
- 350
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, das Problem in der interaktiven Eingabeaufforderung mit der koreanischen 2-set-IME zu reproduzieren. Untersuche anschließend dist/cli.mjs und den Startpfad rund um resolveKittyKeyboard und disambiguateEscapeCodes. Verfolge, wie Terminaleingaben die TUI erreichen, und identifiziere, wo Kompositionsereignisse verarbeitet werden. Erledigt ist die Aufgabe, wenn Hangul-Pre-Edit-Text während der Eingabe sichtbar ist und festgeschriebener Text weiterhin korrekt funktioniert.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Bereich
- cli
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Aktiv
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 52/100