We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a91665c commit 3e5c6a1Copy full SHA for 3e5c6a1
src/common/CoreTerminal.ts
@@ -265,8 +265,8 @@ export abstract class CoreTerminal extends Disposable implements ICoreTerminal {
265
private _handleWindowsPtyOptionChange(): void {
266
let value = false;
267
const windowsPty = this.optionsService.rawOptions.windowsPty;
268
- if (windowsPty) {
269
- value = !!(windowsPty.buildNumber && windowsPty.backend === 'conpty' && windowsPty.buildNumber < 21376);
+ if (windowsPty && windowsPty.buildNumber !== undefined && windowsPty.buildNumber !== undefined) {
+ value = !!(windowsPty.backend === 'conpty' && windowsPty.buildNumber < 21376);
270
} else if (this.optionsService.rawOptions.windowsMode) {
271
value = true;
272
}
0 commit comments