MCPcopy
hub / github.com/codeaashu/claude-code / setupTabStops

Method setupTabStops

src/server/web/public/terminal.js:4021–4023  ·  view source on GitHub ↗
(e3)

Source from the content-addressed store, hash-verified

4019 return { first: t3, last: i3 };
4020 }
4021 setupTabStops(e3) {
4022 for (null != e3 ? this.tabs[e3] || (e3 = this.prevStop(e3)) : (this.tabs = {}, e3 = 0); e3 < this._cols; e3 += this._optionsService.rawOptions.tabStopWidth) this.tabs[e3] = true;
4023 }
4024 prevStop(e3) {
4025 for (null == e3 && (e3 = this.x); !this.tabs[--e3] && e3 > 0; ) ;
4026 return e3 >= this._cols ? this._cols - 1 : e3 < 0 ? 0 : e3;

Callers 3

constructorMethod · 0.45
clearMethod · 0.45
setupTabStopsMethod · 0.45

Calls 1

prevStopMethod · 0.80

Tested by

no test coverage detected