Commit 7614f6b
dashboard: preview shows the message typed after an interrupt
After an interrupt, Claude Code folds the aborted turn(s) plus a
'[Request interrupted by user]' marker into the same user message before the new
text, so the preview showed the stale history (e.g. 'yo dawg... are you a narc?
[Request interrupted by user] hi') instead of what was actually typed. humanText
now splits on the marker and keeps only what follows it — so that row reads 'hi'.
Falls back to the raw text for a marker-only turn.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent e2fad09 commit 7614f6b
1 file changed
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
332 | 333 | | |
333 | 334 | | |
334 | 335 | | |
| |||
0 commit comments