Skip to content

docs: fix stale PendingShellOpts.command comment#167

Open
dormouse-bot wants to merge 1 commit into
mainfrom
docs/fix-pending-command-comment
Open

docs: fix stale PendingShellOpts.command comment#167
dormouse-bot wants to merge 1 commit into
mainfrom
docs/fix-pending-command-comment

Conversation

@dormouse-bot

Copy link
Copy Markdown
Collaborator

Fixes a stale doc comment on PendingShellOpts.command left behind by the recent command-launch refactor.

The dor split / dor ensure -- <cmd> path no longer launches the command via shell -lc <cmd> / cmd /c <cmd> (the commandShellArgs helper was removed). It now spawns a plain interactive shell and types the command in once the pane reaches a prompt — see typeCommandWhenPromptReady (getPlatform().writePty(id, \${command}\r`)), invoked from getOrCreateTerminalwhenshellOpts.command` is set.

The comment still read "launched via -lc//c", contradicting both the new behavior and the sibling requireIntegration doc immediately below it (which already says the command is "typed"). Updated to describe the typed-into-shell flow.

Comment-only change — no behavior change and nothing testable, so no regression test is included.

The command is now typed into the spawned interactive shell at the
prompt, not launched via shell -lc / cmd /c. Update the comment to
match the typeCommandWhenPromptReady flow.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 21, 2026

Copy link
Copy Markdown

Deploying mouseterm with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2f9b0ef
Status: ✅  Deploy successful!
Preview URL: https://f8346897.mouseterm.pages.dev
Branch Preview URL: https://docs-fix-pending-command-com.mouseterm.pages.dev

View logs

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