MCPcopy
hub / github.com/xtermjs/xterm.js / setLineInCache

Method setLineInCache

addons/addon-search/src/SearchLineCache.ts:73–77  ·  view source on GitHub ↗
(row: number, entry: LineCacheEntry)

Source from the content-addressed store, hash-verified

71 }
72
73 public setLineInCache(row: number, entry: LineCacheEntry): void {
74 if (this._linesCache) {
75 this._linesCache[row] = entry;
76 }
77 }
78
79 /**
80 * Translates a buffer line to a string, including subsequent lines if they are wraps.

Callers 2

_findInLineMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected