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

未关闭
#880 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
52/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
领域
cli

调研方向

首先,使用韩语 2-set IME 在交互式提示符中复现该问题,然后检查 dist/cli.mjs 以及 resolveKittyKeyboard 和 disambiguateEscapeCodes 附近的启动路径。跟踪终端输入如何到达 TUI,并确定组合事件的处理位置。当输入时能够显示 Hangul 预编辑文本,且已提交的文本仍能正常工作时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

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.
主要语言
没有语言数据
星标
4k
派生
350
PR 合并指标
30 天内没有已合并 PR

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CommandCodeAI/command-code 的其他 Issue

查看 CommandCodeAI/command-code 的全部 Issue

相似的 Issue

更多 CLI Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。