[Channels] onSubmit early return due to "suggestions showing" causes input to silently disappear
Resolved 💬 4 comments Opened Mar 26, 2026 by gonnarun Closed Apr 26, 2026
Bug description
When running Claude Code with --channels flag, typing any message and pressing Enter causes the input to silently disappear without being submitted. Claude Code does not respond at all.
Steps to reproduce
claude --channels plugin:telegram@claude-plugins-official --dangerously-skip-permissions --disallowedTools "AskUserQuestion,EnterPlanMode" --debug-file /tmp/channels-debug.log
- Type any message in the prompt
- Press Enter
- The message disappears from the prompt but Claude does not process it
Debug log evidence
The debug log shows this pattern repeatedly:
[onSubmit] early return: suggestions showing (count=10)
The onSubmit handler detects that autocomplete suggestions are showing (count=10) and treats Enter as a suggestion selection rather than a message submission. The input text is consumed/cleared but never sent.
Additional context
- Claude Code version: 2.1.83
- Platform: macOS (Darwin 25.4.0)
- Terminal: tmux 3.6a
- The issue also occurs alongside a secondary problem where the Telegram MCP server fails to reconnect on restart (
MCP error -32000: Connection closedafter ~90ms), but the input-swallowing issue is independent.
Workaround
Pressing Escape before Enter to dismiss the suggestions dropdown allows the message to submit normally.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗