CommandCodeAI / CommandCodeAI/command-code

Vietnamese IME Input Does Not Work Properly in Terminal UI

Open
#502 6 comments 2 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

When using a Vietnamese IME (Telex), text input is corrupted inside the terminal UI.

For example, when typing:

gõ tiếng việt

the terminal receives something like:

go õ tieng êng iếng vie ê iệt

The issue only occurs inside the terminal UI. Vietnamese input works correctly in other applications and regular text fields.

Environment:

  • OS: macOS
  • Input Method: Vietnamese Telex
  • Terminal: [Terminal.app / iTerm2 / VS Code Terminal]
  • Application Version: [version]
Expected Behavior

Vietnamese characters should be composed correctly when using a Vietnamese IME.

Actual Behavior

Characters are split or inserted in the wrong order, making Vietnamese text unreadable.

Steps to reproduce the issue

Steps to Reproduce

  1. Launch the application in a terminal.
  2. Enable a Vietnamese IME (Vietnamese Telex).
  3. Focus the text input area in the terminal UI.
  4. Type a Vietnamese phrase such as:
    gõ tiếng việt
  5. Observe the text displayed in the input field.

Expected Result
The text is displayed correctly as:
gõ tiếng việt

Actual Result
The text becomes corrupted, for example:
go õ tieng êng iếng vie ê iệt

Reproducibility
Occurs consistently when using Vietnamese IME input in the terminal UI.

Command Code Version

0.39.2

Operating System

macOS

Terminal/IDE

Terminal

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.