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

Method hasSelection

lib/terminal.ts:747–749  ·  view source on GitHub ↗

* Check if there's an active selection

()

Source from the content-addressed store, hash-verified

745 * Check if there's an active selection
746 */
747 public hasSelection(): boolean {
748 return this.selectionManager?.hasSelection() || false;
749 }
750
751 /**
752 * Clear the current selection

Callers 3

terminal.test.tsFile · 0.45
renderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected