MCPcopy Index your code
hub / github.com/JavaCS3/xterm-player / snapshot

Method snapshot

src/Frame.ts:22–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20 duration(): number { return this.endTime - this.startTime }
21 data(endTime: number, startTime?: number): string { return '' }
22 snapshot(): string {
23 if (this.prev) {
24 return this.prev.snapshot()
25 }
26 return ''
27 }
28}
29
30export type FrameSnapshotFn = (s: string) => string

Callers

nothing calls this directly

Calls 1

snapshotMethod · 0.65

Tested by

no test coverage detected