Commit dd29844
fix: Reduce dynamic area to status before moving response to static
When streaming completes, we need to:
1. Reduce dynamic area to just the status line (not response + status)
2. Then write_static the response (which clears dynamic, writes, redraws)
3. Reset renderer so prompt can operate naturally
This prevents the response from being written twice (once as static,
once as redrawn dynamic content).
Also changed clear_dynamic to reset after completion - the status bar
remains visible until the next streaming starts, rather than leaving
blank lines where the cleared content was.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude-624482a1 <claude@v2.io>1 parent d40157a commit dd29844
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
472 | | - | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
473 | 475 | | |
474 | | - | |
| 476 | + | |
| 477 | + | |
475 | 478 | | |
476 | 479 | | |
477 | 480 | | |
| |||
534 | 537 | | |
535 | 538 | | |
536 | 539 | | |
| 540 | + | |
| 541 | + | |
537 | 542 | | |
538 | | - | |
| 543 | + | |
| 544 | + | |
539 | 545 | | |
540 | 546 | | |
541 | 547 | | |
| |||
0 commit comments