Unknown action: copy_to_clipboard #8348
Replies: 1 comment 1 reply
-
Read the docs of the copy_to_clipboard action is does not take any
arguments. It copies the selection in the active window only. If you
want to copy specific text to the clipboars use the undocumented API as
there is no documented API for it.
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
siddhpant
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To copy text to clipboard from a kitten using the kitty API, I used
boss.call_remote_control(w, ('action', '--self', 'copy_to_clipboard', text))
, but using it I get the error in the title.Using
kitty.clipboard.set_clipboard_string
works, but as mentioned in the docs it isn't documented. I had to look at the source code.Where am I going wrong?
Beta Was this translation helpful? Give feedback.
All reactions