Closed cenomla closed 1 year ago
Thank you for the pull request.
Instead of registering this as a global keyboard shortcut, could you instead add this as a branch to the UI_MSG_KEY_TYPED
section of WatchWindowMessage
?
The condition should be m->code == UI_KEYCODE_UP && !element->window->shift && !element->window->alt && element->window->ctrl && !w->textbox
, then you can call into your function CommandWatchCopyValueToClipboard
.