Commit 1c6a621
feat(agent): enhance input handling with multi-line support and keyboard shortcuts
- Add bracketed paste mode for proper multi-line paste handling
- Add multi-line cursor navigation (Up/Down arrows)
- Add keyboard shortcuts:
- Ctrl+J / Shift+Enter / Alt+Enter: Insert newline
- Ctrl+Shift+Backspace: Delete to line start
- Ctrl+U: Clear entire input
- Ctrl+W / Alt+Backspace: Delete word left
- Fix newline rendering in raw mode (\n -> \r\n)
- Fix Ctrl+C to properly exit when input is empty
- Fix diff confirmation UI terminal state after IDE response
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent fa51e07 commit 1c6a621
3 files changed
Lines changed: 311 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
427 | | - | |
| 427 | + | |
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
368 | 369 | | |
369 | 370 | | |
370 | 371 | | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
371 | 383 | | |
372 | 384 | | |
373 | 385 | | |
| |||
0 commit comments