(s: SelectionState)
| 120 | } |
| 121 | |
| 122 | export function clearSelection(s: SelectionState): void { |
| 123 | s.anchor = null |
| 124 | s.focus = null |
| 125 | s.isDragging = false |
| 126 | s.anchorSpan = null |
| 127 | s.scrolledOffAbove = [] |
| 128 | s.scrolledOffBelow = [] |
| 129 | s.scrolledOffAboveSW = [] |
| 130 | s.scrolledOffBelowSW = [] |
| 131 | s.virtualAnchorRow = undefined |
| 132 | s.virtualFocusRow = undefined |
| 133 | s.lastPressHadAlt = false |
| 134 | } |
| 135 | |
| 136 | // Unicode-aware word character matcher: letters (any script), digits, |
| 137 | // and the punctuation set iTerm2 treats as word-part by default. |
no outgoing calls
no test coverage detected