feat(render): wire table state machine and finalize hook

This commit is contained in:
2026-07-22 12:23:44 -06:00
parent cdfaa0f111
commit bf06d5e8f3
4 changed files with 255 additions and 14 deletions
+5
View File
@@ -154,6 +154,11 @@ async fn markdown_stream_inner(
writer.flush()?;
}
SseEvent::Done => {
let tail = render.finalize();
if !tail.is_empty() {
queue!(writer, style::Print("\n"), style::Print(&tail))?;
writer.flush()?;
}
break 'outer;
}
}