Single character input not displayed when submitting with Ctrl+M
Resolved 💬 2 comments Opened Mar 16, 2026 by Okiichi1122 Closed Mar 16, 2026
Bug Description
When submitting a single character input using Ctrl+M, the user's input text is not displayed in the chat history. The message is sent and Claude responds normally, but the user's input line is invisible.
Steps to Reproduce
- Open Claude Code in terminal
- Type a single character (e.g.,
v,k,1) - Press
Ctrl+Mto submit - The user's input is not shown in the chat history
Expected Behavior
The single character input should be displayed in the chat history, just like when pressing the Enter key.
Actual Behavior
- Single character +
Ctrl+M→ input text not displayed - Single character +
Enter→ input text displayed correctly - 2+ characters +
Ctrl+M→ input text displayed correctly
Environment
- Claude Code version: 2.1.74
- OS: macOS 26.3.1 (Apple M2)
- Terminal: Ghostty + Zellij (v0.43.1)
- Shell: zsh
support_kitty_keyboard_protocol falsein Zellij config
Notes
Ctrl+M and Enter should send the same key code (ASCII 13 / carriage return), so this discrepancy is unexpected. The issue only occurs with single character inputs.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗