CommandCodeAI / CommandCodeAI/command-code

Input issues: Vietnamese Telex composition and slash autocomplete recovery

未關閉
#521 1 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

@vipulgupta2048 已經在處理了。

開始於 2026年7月6日。

主要語言
沒有語言資料
星號
4k
分支
350
PR 合併指標
30 天內沒有已合併 PR

描述

Summary

There are two separate input issues in Command Code interactive mode on macOS/Ghostty.

First, Vietnamese Telex IME composition does not work correctly. When Vietnamese Telex is enabled, composed Vietnamese text does not appear directly inside the Command Code input box. Instead, the IME composition/pre-edit text is rendered separately first, and the text is only committed into the input box after pressing Space.

For example, when I type:

xin chào mọi người

the Vietnamese composition appears outside or detached from the input box first. After pressing Space, the composed text is committed into the Command Code input.

Second, slash command autocomplete does not recover/update after editing a slash command. This issue happens even when Vietnamese Telex is disabled.

For example:

  • Type /clear
  • Delete the last character so it becomes /clea
  • Delete again so it becomes /cle
  • The slash suggestion list does not reappear/update

In other coding CLIs such as Codex, slash autocomplete keeps working while editing /clear, /clea, /cle, /cl, etc.

Expected Behavior

Expected behavior:

  1. Vietnamese Telex IME should compose text directly inside the Command Code input box.

    Example:

    xin chào mọi người

    The text should appear and update normally inside the input box while typing, without rendering the pre-edit/composition text outside or detached from the input area.

Image
  1. Slash command autocomplete should continue to update while editing a slash command.

    Example:

    • Type /clear
    • Suggestions should appear
    • Delete r, so the input becomes /clea
    • Suggestions should still appear/update
    • Delete again, so the input becomes /cle
    • Suggestions should still appear/update

This should work regardless of whether Vietnamese Telex is enabled or disabled.

Image
Actual Behavior

Actual behavior:

  1. With Vietnamese Telex enabled:

    • Vietnamese composition/pre-edit text is rendered outside or detached from the Command Code input box.
    • The composed Vietnamese text is only committed into the input box after pressing Space.
    • This makes Vietnamese prompts awkward and unreliable to type.
Image
  1. Slash command autocomplete does not recover/update after editing:

    • Type /clear
    • Delete the last character so it becomes /clea
    • Delete again so it becomes /cle
    • The slash command suggestion list does not reappear/update.

This slash autocomplete issue happens even when Vietnamese Telex is disabled.

Image
Steps to reproduce the issue
Issue 1: Vietnamese Telex IME composition is detached from the input box
  1. Open Ghostty on macOS.

  2. Enable Vietnamese Telex input method.

  3. Start Command Code by running:

    cmd
    
  4. In the Command Code interactive input box, type a Vietnamese sentence, for example:

    xin chào mọi người
    
  5. Observe that the Vietnamese IME composition/pre-edit text is rendered separately or detached from the Command Code input box.

  6. Press Space.

  7. Observe that the composed Vietnamese text is then committed into the input box.

  8. Expected behavior: Vietnamese Telex composition should happen directly inside the Command Code input box while typing, without showing the pre-edit text outside or detached from the input area.


Issue 2: Slash autocomplete does not recover after editing a slash command
  1. Start Command Code by running:

    cmd
    
  2. Type a slash command:

    /clear
    
  3. Delete the last character so the input becomes:

    /clea
    
  4. Delete again so the input becomes:

    /cle
    
  5. Delete again so the input becomes:

    /cl
    
  6. Observe that the slash command suggestion list does not reappear or update after editing the command text.

  7. Expected behavior: the slash command suggestion list should continue to appear and update while editing /clear, /clea, /cle, /cl, etc.

  8. This slash autocomplete issue also happens when Vietnamese Telex is disabled.

  9. In other coding CLIs such as Codex, slash autocomplete continues to work while editing the slash command text.

Command Code Version

0.40.5

Operating System

macOS

Terminal/IDE

Ghostty

Shell

zsh

Additional context

No response

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。