MCPcopy Index your code
hub / github.com/codeaashu/claude-code / captureScrolledRows

Method captureScrolledRows

src/ink/ink.tsx:1157–1159  ·  view source on GitHub ↗

* Capture text from rows about to scroll out of the viewport during * drag-to-scroll. Must be called BEFORE the ScrollBox scrolls so the * screen buffer still holds the outgoing content. Accumulated into * the selection state and joined back in by getSelectedText.

(firstRow: number, lastRow: number, side: 'above' | 'below')

Source from the content-addressed store, hash-verified

1155 * the selection state and joined back in by getSelectedText.
1156 */
1157 captureScrolledRows(firstRow: number, lastRow: number, side: 'above' | 'below'): void {
1158 captureScrolledRows(this.selection, this.frontFrame.screen, firstRow, lastRow, side);
1159 }
1160
1161 /**
1162 * Shift anchor AND focus by dRow, clamped to [minRow, maxRow]. Used by

Callers 3

tickFunction · 0.80
useSelectionFunction · 0.80

Calls 1

captureScrolledRowsFunction · 0.85

Tested by

no test coverage detected