MCPcopy Create free account
hub / github.com/coder/ghostty-web / getScrollbackLine

Method getScrollbackLine

lib/terminal.ts:1126–1129  ·  view source on GitHub ↗

* Get a line from native WASM scrollback buffer * Implements IScrollbackProvider

(offset: number)

Source from the content-addressed store, hash-verified

1124 * Implements IScrollbackProvider
1125 */
1126 public getScrollbackLine(offset: number): GhosttyCell[] | null {
1127 if (!this.wasmTerm) return null;
1128 return this.wasmTerm.getScrollbackLine(offset);
1129 }
1130
1131 /**
1132 * Get scrollback length from native WASM

Callers

nothing calls this directly

Calls 1

getScrollbackLineMethod · 0.65

Tested by

no test coverage detected