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

Method markCurrentSelectionDirty

lib/selection-manager.ts:661–668  ·  view source on GitHub ↗

* Mark current selection rows as dirty for redraw

()

Source from the content-addressed store, hash-verified

659 * Mark current selection rows as dirty for redraw
660 */
661 private markCurrentSelectionDirty(): void {
662 const coords = this.normalizeSelection();
663 if (coords) {
664 for (let row = coords.startRow; row <= coords.endRow; row++) {
665 this.dirtySelectionRows.add(row);
666 }
667 }
668 }
669
670 /**
671 * Update auto-scroll based on mouse Y position within canvas

Callers 1

attachEventListenersMethod · 0.95

Calls 1

normalizeSelectionMethod · 0.95

Tested by

no test coverage detected