Correct Windows wrapping heuristics condition
This commit is contained in:
@@ -265,8 +265,8 @@ export abstract class CoreTerminal extends Disposable implements ICoreTerminal {
|
|||||||
private _handleWindowsPtyOptionChange(): void {
|
private _handleWindowsPtyOptionChange(): void {
|
||||||
let value = false;
|
let value = false;
|
||||||
const windowsPty = this.optionsService.rawOptions.windowsPty;
|
const windowsPty = this.optionsService.rawOptions.windowsPty;
|
||||||
if (windowsPty) {
|
if (windowsPty && windowsPty.buildNumber !== undefined && windowsPty.buildNumber !== undefined) {
|
||||||
value = !!(windowsPty.buildNumber && windowsPty.backend === 'conpty' && windowsPty.buildNumber < 21376);
|
value = !!(windowsPty.backend === 'conpty' && windowsPty.buildNumber < 21376);
|
||||||
} else if (this.optionsService.rawOptions.windowsMode) {
|
} else if (this.optionsService.rawOptions.windowsMode) {
|
||||||
value = true;
|
value = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user