MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / canEnableCopy

Function canEnableCopy

frontend/app/app.tsx:75–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73}
74
75function canEnableCopy(): boolean {
76 const sel = window.getSelection();
77 return !util.isBlank(sel?.toString());
78}
79
80function canEnableCut(): boolean {
81 const sel = window.getSelection();

Callers 1

handleContextMenuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected