MCPcopy Create free account
hub / github.com/OperationT00/T-Code / start

Method start

src/main/java/com/tcode/tui/LanternaWindow.java:70–80  ·  view source on GitHub ↗

启动 TUI 主循环(阻塞直到窗口关闭)。

()

Source from the content-addressed store, hash-verified

68 * 启动 TUI 主循环(阻塞直到窗口关闭)。
69 */
70 public void start() {
71 try {
72 gui.waitForWindowToClose(mainWindow);
73 } catch (Exception e) {
74 System.err.println("❌ TUI 主循环异常: " + e.getMessage());
75 } finally {
76 closeHook.run();
77 tuiMode = false;
78 closeScreen();
79 }
80 }
81
82 /**
83 * 关闭窗口。

Callers 1

launchMethod · 0.95

Calls 2

closeScreenMethod · 0.95
runMethod · 0.65

Tested by

no test coverage detected