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:
-
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.
-
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.
Actual Behavior
Actual behavior:
-
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.
-
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.
Steps to reproduce the issue
Issue 1: Vietnamese Telex IME composition is detached from the input box
-
Open Ghostty on macOS.
-
Enable Vietnamese Telex input method.
-
Start Command Code by running:
-
In the Command Code interactive input box, type a Vietnamese sentence, for example:
-
Observe that the Vietnamese IME composition/pre-edit text is rendered separately or detached from the Command Code input box.
-
Press Space.
-
Observe that the composed Vietnamese text is then committed into the input box.
-
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
-
Start Command Code by running:
-
Type a slash command:
-
Delete the last character so the input becomes:
-
Delete again so the input becomes:
-
Delete again so the input becomes:
-
Observe that the slash command suggestion list does not reappear or update after editing the command text.
-
Expected behavior: the slash command suggestion list should continue to appear and update while editing /clear, /clea, /cle, /cl, etc.
-
This slash autocomplete issue also happens when Vietnamese Telex is disabled.
-
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
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ườithe 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:
/clear/clea/cleIn other coding CLIs such as Codex, slash autocomplete keeps working while editing
/clear,/clea,/cle,/cl, etc.Expected Behavior
Expected behavior:
Vietnamese Telex IME should compose text directly inside the Command Code input box.
Example:
xin chào mọi ngườiThe 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.
Slash command autocomplete should continue to update while editing a slash command.
Example:
/clearr, so the input becomes/clea/cleThis should work regardless of whether Vietnamese Telex is enabled or disabled.
Actual Behavior
Actual behavior:
With Vietnamese Telex enabled:
Slash command autocomplete does not recover/update after editing:
/clear/clea/cleThis slash autocomplete issue happens even when Vietnamese Telex is disabled.
Steps to reproduce the issue
Issue 1: Vietnamese Telex IME composition is detached from the input box
Open Ghostty on macOS.
Enable Vietnamese Telex input method.
Start Command Code by running:
In the Command Code interactive input box, type a Vietnamese sentence, for example:
Observe that the Vietnamese IME composition/pre-edit text is rendered separately or detached from the Command Code input box.
Press Space.
Observe that the composed Vietnamese text is then committed into the input box.
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
Start Command Code by running:
Type a slash command:
Delete the last character so the input becomes:
Delete again so the input becomes:
Delete again so the input becomes:
Observe that the slash command suggestion list does not reappear or update after editing the command text.
Expected behavior: the slash command suggestion list should continue to appear and update while editing
/clear,/clea,/cle,/cl, etc.This slash autocomplete issue also happens when Vietnamese Telex is disabled.
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