Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VCVRack/Rack
/ copyClipboard
Method
copyClipboard
src/ui/TextField.cpp:373–377 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
371
}
372
373
void TextField::copyClipboard() {
374
if (cursor == selection)
375
return;
376
glfwSetClipboardString(APP->window->win, getSelectedText().c_str());
377
}
378
379
void TextField::cutClipboard() {
380
copyClipboard();
Callers
1
onAction
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected