初步规划TuUi模式,并预留接口

This commit is contained in:
Falck
2026-05-02 13:32:51 +08:00
parent 9f7ca46f96
commit 0783428f80
24 changed files with 597 additions and 116 deletions

View File

@@ -620,6 +620,11 @@ export default TUI;
})
)
def wait_for_exit(self):
"""前台阻塞等待 TUI 退出(用于 CLI 模式)"""
if self.tui_thread and self.tui_thread.is_alive():
self.tui_thread.join()
def stop(self):
"""停止 TUI"""
Log.info("tui", "TUI 停止中...")