Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
75
function canEnableCopy(): boolean {
76
const sel = window.getSelection();
77
return !util.isBlank(sel?.toString());
78
}
79
80
function canEnableCut(): boolean {
81
const sel = window.getSelection();
Callers
1
handleContextMenu
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected