-
Notifications
You must be signed in to change notification settings - Fork 3
w3cos.pty — Pseudo Terminal API for terminal emulator #36
Copy link
Copy link
Closed
Labels
ai-readyWell-defined, AI can pick up immediatelyWell-defined, AI can pick up immediatelydifficulty:hardComplex taskComplex taskdifficulty:mediumMedium complexityMedium complexityenhancementNew feature or requestNew feature or requestmodule:compilerw3cos-compiler cratew3cos-compiler cratemodule:domw3cos-dom cratew3cos-dom cratemodule:runtimew3cos-runtime cratew3cos-runtime crate
Metadata
Metadata
Assignees
Labels
ai-readyWell-defined, AI can pick up immediatelyWell-defined, AI can pick up immediatelydifficulty:hardComplex taskComplex taskdifficulty:mediumMedium complexityMedium complexityenhancementNew feature or requestNew feature or requestmodule:compilerw3cos-compiler cratew3cos-compiler cratemodule:domw3cos-dom cratew3cos-dom cratemodule:runtimew3cos-runtime cratew3cos-runtime crate
Context
Per
docs/vscode-compat.mdPhase B (P0). VS Code's integrated terminal requires a PTY (pseudo-terminal) backend. This replaces `node-pty` which VS Code uses with Electron.Requirements
Implementation
Rust side
Application side
New crate
Consider a `w3cos-system` or `w3cos-pty` crate that wraps the PTY logic and is linked by the compiler when PTY APIs are detected.
References
docs/vscode-compat.md§2.3 — w3cos.pty