MCPcopy Index your code
hub / github.com/codeaashu/claude-code / _handleWindowsPtyOptionChange

Method _handleWindowsPtyOptionChange

src/server/web/public/terminal.js:2631–2635  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2629 this._inputHandler.reset(), this._bufferService.reset(), this._charsetService.reset(), this.coreService.reset(), this.coreMouseService.reset();
2630 }
2631 _handleWindowsPtyOptionChange() {
2632 let e3 = false;
2633 const t3 = this.optionsService.rawOptions.windowsPty;
2634 t3 && void 0 !== t3.buildNumber && void 0 !== t3.buildNumber ? e3 = !!("conpty" === t3.backend && t3.buildNumber < 21376) : this.optionsService.rawOptions.windowsMode && (e3 = true), e3 ? this._enableWindowsWrappingHeuristics() : this._windowsWrappingHeuristics.clear();
2635 }
2636 _enableWindowsWrappingHeuristics() {
2637 if (!this._windowsWrappingHeuristics.value) {
2638 const e3 = [];

Callers 2

constructorMethod · 0.95
_setupMethod · 0.95

Calls 2

clearMethod · 0.45

Tested by

no test coverage detected