Enter key during paste operation sends incomplete input
Resolved 💬 3 comments Opened Jan 24, 2026 by chall37 Closed Jan 27, 2026
Bug Description
If the user presses Enter while text is still being pasted into the CLI, the Enter keypress is processed before the paste operation completes, causing the message to be sent prematurely with truncated input.
Steps to Reproduce
- Start typing or have the cursor in the input area
- Paste a large block of text (e.g., a long error log)
- Press Enter while the paste is still in progress
- The message is sent with only partial content
Expected Behavior
The Enter key should either:
- Be buffered until the paste operation completes, or
- Be ignored during an active paste operation
Environment
- macOS
- Terminal paste operation
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗