fix(tui): reflow markdown tables

This commit is contained in:
Xubin Ren
2026-08-17 20:56:10 +08:00
parent 7e60d52f0e
commit 2d3045647a
2 changed files with 45 additions and 0 deletions
+7
View File
@@ -469,9 +469,16 @@ export class Transcript {
width: "auto",
minWidth: 0,
flexGrow: 1,
flexShrink: 1,
syntaxStyle: this.theme.syntax,
streaming,
internalBlockMode: "top-level",
tableOptions: {
style: "columns",
widthMode: "full",
columnFitter: "balanced",
wrapMode: "word",
},
treeSitterClient: this.treeSitterClient,
})
this.markdown.add(markdown)