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

Method clearTextSelection

src/ink/ink.tsx:1042–1046  ·  view source on GitHub ↗

Clear the current text selection without copying.

()

Source from the content-addressed store, hash-verified

1040
1041 /** Clear the current text selection without copying. */
1042 clearTextSelection(): void {
1043 if (!hasSelection(this.selection)) return;
1044 clearSelection(this.selection);
1045 this.notifySelectionChange();
1046 }
1047
1048 /**
1049 * Set the search highlight query. Non-empty → all visible occurrences

Callers 2

AlternateScreenFunction · 0.80
useSelectionFunction · 0.80

Calls 3

notifySelectionChangeMethod · 0.95
hasSelectionFunction · 0.85
clearSelectionFunction · 0.85

Tested by

no test coverage detected