aws / aws/amazon-q-developer-cli
Vietnamese Telex IME input broken in TUI mode
- Lingua principale
- Rust
- Stelle
- 2k
- Fork
- 439
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### Environment
- OS: macOS
- kiro-cli: 2.0.1
- Input method: Vietnamese Telex (macOS built-in)
### Steps to Reproduce
1. Start `kiro-cli chat` (default TUI mode)
2. Switch to Vietnamese Telex input method
3. Type any Vietnamese word (e.g. "xin chào")
### Expected Behavior
TUI mode should correctly handle IME (Input Method Editor) compose sequences, allowing users to type Vietnamese (Telex/VNI) and other multi-keystroke input methods without dropping characters.
The behavior should match classic mode, where Vietnamese Telex input works correctly.
For example, typing "xin chaof" with Telex should produce "xin chào".
### Actual Behavior
Characters are dropped during the compose sequence. For example, typing "chaof" (Telex for "chào") results in missing characters like "cho" or "chao" — the diacritical composition fails and
intermediate keystrokes are lost.
This issue only occurs in TUI mode. Classic mode (`--classic` / `--legacy-mode`) handles Vietnamese Telex input correctly.
### Workaround
Use `kiro-cli chat --legacy-mode` or `kiro-cli --classic`.
### Root Cause (Suspected)
The new TUI (React/Ink-based) input handling does not support IME compose sequences correctly. Classic mode uses Rust-based readline which handles IME properly.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Riproduci il problema con `kiro-cli chat` su macOS usando il Telex vietnamita, quindi confronta il percorso di input della TUI con la modalità classica (`--legacy-mode` o `--classic`), che utilizza readline basato su Rust. Ispeziona la gestione dell’input della TUI basata su React/Ink; il lavoro è completato quando le sequenze di composizione non eliminano più caratteri e l’input vietnamita corrisponde a quello della modalità classica.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- react, rust
- Ambito
- cli, internationalization
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100