Add '> ' prefix before each line of a blockquote, even after line-wrapping

This commit is contained in:
2023-11-26 12:21:13 +01:00
parent 61f30cfbf3
commit 13965a7e67
8 changed files with 344 additions and 131 deletions

View File

@ -89,7 +89,7 @@ impl Buffer for LogBuffer {
.iter()
.rev()
.map(|(line_id, line, prerender)| BufferItem {
content: BufferItemContent::Text(line.clone().into_text().unwrap_or_else(|e| {
content: BufferItemContent::SimpleText(line.clone().into_text().unwrap_or_else(|e| {
tracing::error!("Could not convert line from ANSI codes to ratatui: {}", e);
Text::raw(line)
})),