Repository navigation
Remove the winpty fallback and windowsEnableConpty from the terminal advanced docs - #10722
Open
Manish Ram (Manishram-ai) wants to merge 1 commit into
Open
Manish Ram (Manishram-ai) wants to merge 1 commit into
Manish Ram (Manishram-ai) wants to merge 1 commit into
Conversation
…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.
Contributor
There was a problem hiding this comment.
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-supportinstead of the absolute URLhttps://code.visualstudio.com/updates/v1_109#_removal-of-winpty-supportto match internal link conventions acrossvscode-docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The "Windows and ConPTY" section in
docs/terminal/advanced.mdstill says the terminal falls back to winpty on older Windows versions, and that ConPTY can be turned off withterminal.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 isterminal.integrated.windowsUseConptyDll.This updates the paragraph to say winpty is gone, mentions
windowsUseConptyDllinstead, and links to the terminal launch troubleshooting page, which already describes the current behavior.I searched VS Code main for
windowsEnableConptyand it isn't defined anywhere.TerminalSettingIdinterminal.tsonly haswindowsUseConptyDll.