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

Function termContent

src/common/InputHandler.test.ts:252–256  ·  view source on GitHub ↗
(bufferService: IBufferService, trim: boolean)

Source from the content-addressed store, hash-verified

250 });
251 describe('regression tests', function (): void {
252 function termContent(bufferService: IBufferService, trim: boolean): string[] {
253 const result = [];
254 for (let i = 0; i < bufferService.rows; ++i) result.push(bufferService.buffer.lines.get(i)!.translateToString(trim));
255 return result;
256 }
257
258 it('insertChars', async () => {
259 const bufferService = new MockBufferService(80, 30);

Callers 1

Calls 3

pushMethod · 0.65
translateToStringMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected