feat: TUIのmarkdown対応

This commit is contained in:
2026-05-05 18:30:25 +09:00
parent fc5cfefb62
commit 6c95b2da56
7 changed files with 462 additions and 1 deletions
+1 -1
View File
@@ -591,7 +591,7 @@ fn render_block_into(lines: &mut Vec<Line<'static>>, block: &Block, width: u16,
}
Block::AssistantText { text } => match mode {
Mode::Overview => push_overview_line(lines, text, width, MessageKind::Assistant, ""),
_ => push_padded_lines(lines, text, MessageKind::Assistant),
_ => lines.extend(crate::markdown::render(text, kind_style(MessageKind::Assistant))),
},
Block::Thinking(t) => render_thinking(lines, t, width, mode),
// ToolCall is dispatched in `compute_history` via `tool::render_tool`