fix: keep Code Mode result cards complete

This commit is contained in:
Tianyi Cui
2026-07-21 04:55:56 +08:00
parent c1d7b0df81
commit 7c2fb0a6fe
10 changed files with 133 additions and 67 deletions

View File

@@ -1,7 +1,7 @@
terminal 100x36 buffer=normal length=36 base=0 viewport=0
lifecycle started=1 stopped=0 progress=inactive
title "DSH TUI snapshot"
cursor hidden column=1 viewportRow=29 bufferRow=29
cursor hidden column=1 viewportRow=30 bufferRow=30
buffer
0| "╭──────────────────────────────────────────────────────────────────────────────────────────────────╮"
style 0-99 fg=bright-blue
@@ -54,26 +54,28 @@ buffer
19| "▌ const o "
style 0-0 fg=green
style 2-8 bold
20| "▌ CODE_ONE+CODE_TWO "
20| "▌ captured output "
style 0-0 fg=green
21| "▌ "
21| "▌ CODE_ONE+CODE_TWO "
style 0-0 fg=green
22| <blank>
23| " Reasoning "
22| "▌ "
style 0-0 fg=green
23| <blank>
24| " Reasoning "
style 1-9 fg=bright-black italic
24| " The output is exactly what the user asked for: CODE_ONE+CODE_TWO "
25| " The output is exactly what the user asked for: CODE_ONE+CODE_TWO "
style 1-64 fg=bright-black italic
25| <blank>
26| " Assistant "
26| <blank>
27| " Assistant "
style 1-9 fg=bright-magenta bold
27| " CODE_ONE+CODE_TWO "
28| "────────────────────────────────────────────────────────────────────────────────────────────────────"
28| " CODE_ONE+CODE_TWO "
29| "────────────────────────────────────────────────────────────────────────────────────────────────────"
style 0-99 dim
29| " "
30| " "
style 1-1 inverse
30| "────────────────────────────────────────────────────────────────────────────────────────────────────"
31| "────────────────────────────────────────────────────────────────────────────────────────────────────"
style 0-99 dim
31| "/workspace/project ↑3.1k ↓158 idle reasoning:on tools:compact"
32| "/workspace/project ↑3.1k ↓158 idle reasoning:on tools:compact"
style 0-49 dim
style 67-99 dim
32-35| <blank>
33-35| <blank>