MCPcopy
hub / github.com/wavetermdev/waveterm / getScrollbackContent

Method getScrollbackContent

frontend/app/view/term/termwrap.ts:642–649  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

640 }
641
642 getScrollbackContent(): string {
643 if (!this.terminal) {
644 return "";
645 }
646 const buffer = this.terminal.buffer.active;
647 const lines = bufferLinesToText(buffer, 0, buffer.length);
648 return lines.join("\n");
649 }
650}

Callers 1

getSettingsMenuItemsMethod · 0.80

Calls 1

bufferLinesToTextFunction · 0.90

Tested by

no test coverage detected