Skip to content

Remove the winpty fallback and windowsEnableConpty from the terminal advanced docs - #10722

Open
Manish Ram (Manishram-ai) wants to merge 1 commit into
microsoft:mainfrom
Manishram-ai:docs/terminal-winpty-removed
Open

Manish Ram (Manishram-ai) wants to merge 1 commit into
microsoft:mainfrom
Manishram-ai:docs/terminal-winpty-removed

Conversation

@Manishram-ai

Copy link
Copy Markdown
Contributor

The "Windows and ConPTY" section in docs/terminal/advanced.md still says the terminal falls back to winpty on older Windows versions, and that ConPTY can be turned off with terminal.integrated.windowsEnableConpty. Winpty support was removed in 1.109, and that setting isn't registered in VS Code anymore.

In src/vs/platform/terminal/node/terminalProcess.ts, ConPTY is picked only from the Windows build number (getWindowsBuildNumberSync() >= 18309), and the only ConPTY setting left is terminal.integrated.windowsUseConptyDll.

This updates the paragraph to say winpty is gone, mentions windowsUseConptyDll instead, and links to the terminal launch troubleshooting page, which already describes the current behavior.

I searched VS Code main for windowsEnableConpty and it isn't defined anywhere. TerminalSettingId in terminal.ts only has windowsUseConptyDll.

…l advanced docs

Winpty support was removed in 1.109 and the terminal.integrated.windowsEnableConpty setting no longer exists. Point to windowsUseConptyDll and the terminal launch troubleshooting guide instead.

@alok-108 Alok Pandey (alok-108) left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Summary

The technical update removing winpty and windowsEnableConpty (retired in v1.109) and pointing to terminal.integrated.windowsUseConptyDll and the troubleshooting guide looks accurate.

Suggestion

  • Consider using a root-relative path /updates/v1_109#removal-of-winpty-support instead of the absolute URL https://code.visualstudio.com/updates/v1_109#_removal-of-winpty-support to match internal link conventions across vscode-docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants