Skip to content

docs: add terminals and subprocesses guide#209

Merged
antfu merged 1 commit intomainfrom
antfu/docs-terminal-subprocesses
Mar 16, 2026
Merged

docs: add terminals and subprocesses guide#209
antfu merged 1 commit intomainfrom
antfu/docs-terminal-subprocesses

Conversation

@antfu
Copy link
Copy Markdown
Member

@antfu antfu commented Mar 16, 2026

Description

Adds a new documentation page for the Terminals & Subprocesses API (ctx.terminals). Covers starting child processes, launcher dock integration, custom terminal sessions with ReadableStream, session lifecycle management, and the built-in xterm.js UI. Includes a migration comparison table for users coming from Nuxt DevTools.

Linked Issues

Additional context

New sidebar/nav entry added under "DevTools Kit" section.

Documents the ctx.terminals API for spawning child processes, streaming output via xterm.js, and managing process lifecycle. Includes launcher dock integration, custom terminal sessions, and a Nuxt DevTools migration comparison.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@antfu antfu merged commit debd402 into main Mar 16, 2026
8 checks passed
@antfu antfu deleted the antfu/docs-terminal-subprocesses branch March 16, 2026 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant