From b1ad99c5c1b22cf58e7b7aa2ed9fb1a4edcda83a Mon Sep 17 00:00:00 2001 From: AirCoding Date: Wed, 10 Jun 2026 09:08:39 +0800 Subject: [PATCH] =?UTF-8?q?fix(tui):=20=E4=BF=AE=E5=A4=8D=20OpenTUI=20rend?= =?UTF-8?q?erer=20=E5=90=AF=E5=8A=A8=20crash?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - externalOutputMode 'capture-stdout' 需要 screenMode 'split-footer' → 改为 'passthrough' + 'alternate-screen' 组合 - TUI 正常启动验证: header/tasks panel/footer/input/stats 全渲染 Co-Authored-By: Claude Opus 4.7 (1M context) --- packages/tui/src/TuiApp.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tui/src/TuiApp.tsx b/packages/tui/src/TuiApp.tsx index e88472d..ce3fb01 100755 --- a/packages/tui/src/TuiApp.tsx +++ b/packages/tui/src/TuiApp.tsx @@ -124,7 +124,7 @@ export class TuiApp { autoFocus: false, exitOnCtrlC: false, screenMode: 'alternate-screen', - externalOutputMode: 'capture-stdout', + externalOutputMode: 'passthrough', consoleMode: 'disabled', clearOnShutdown: true, openConsoleOnError: false,