CommandCodeAI / CommandCodeAI/command-code

Input issues: Vietnamese Telex composition and slash autocomplete recovery

Open
#521 1 comment 0 reactions 1 assignee View on GitHub

@vipulgupta2048 is already working on this.

Since Jul 6, 2026.

Dominant language
No language data
Stars
4k
Forks
350
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.