upgrade to opentui 0.1.35, mitigating disappearing content and crashes

This commit is contained in:
Sebastian Herrlinger
2025-11-06 01:38:49 +01:00
parent 2a9b6a85de
commit 8b26a1f9bd
3 changed files with 7 additions and 18 deletions

View File

@@ -54,8 +54,8 @@
"@opencode-ai/plugin": "workspace:*",
"@opencode-ai/script": "workspace:*",
"@opencode-ai/sdk": "workspace:*",
"@opentui/core": "0.1.33",
"@opentui/solid": "0.1.33",
"@opentui/core": "0.1.35",
"@opentui/solid": "0.1.35",
"@parcel/watcher": "2.5.1",
"@pierre/precision-diffs": "catalog:",
"@solid-primitives/event-bus": "1.1.2",

View File

@@ -1011,6 +1011,7 @@ function TextPart(props: { part: TextPart; message: AssistantMessage }) {
<code
filetype="markdown"
drawUnstyledText={false}
streaming={true}
syntaxStyle={syntax()}
content={props.part.text.trim()}
conceal={ctx.conceal()}