- TUI.useInk() opts into Ink-backed rendering (call before start()) - In start(): if _useInk || process.stdout.isTTY, mount Ink renderer via startInkRenderer() and skip the legacy differential render path entirely - In stop(): unmount Ink handle and return early; legacy terminal cleanup (cursor repositioning, showCursor, terminal.stop) is skipped since Ink handles terminal restoration itself - Passes this.render()/invalidate() via a plain Component wrapper to avoid the private handleInput TypeScript conflict - Two new contract tests: useInk() flag and stop() Ink handle teardown - 80/80 tests pass; legacy path unchanged for non-TTY (CI/tests) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| agent-core | ||
| ai | ||
| coding-agent | ||
| daemon | ||
| google-gemini-cli-provider | ||
| native | ||
| rpc-client | ||
| tui | ||