Commit ded1b9d
fix: skip empty input queries to prevent sending blank messages to agent
Added validation to ignore when user presses Enter on an empty line,
preventing blank queries from being sent to the agent. This improves
UX by matching expected behavior where empty input is simply ignored
and the prompt is shown again.
The check validates input after command routing but before processing,
catching empty queries from single-line input, templates, and as a
defensive check for multiline input (which already has its own check).
Fixes: Users pressing Enter on empty line no longer sends to agent
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 7d3fc26 commit ded1b9d
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1155 | 1155 | | |
1156 | 1156 | | |
1157 | 1157 | | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
1158 | 1162 | | |
1159 | 1163 | | |
1160 | 1164 | | |
| |||
0 commit comments