Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Paste to shortcuts #5047
Frenzie left a comment •
I should've probably mentioned it in the commit log for the [fix] empty clipboard commit, but if you copy something & paste it, it just sort of lingers around.
Although perhaps that's actually intended and only cut should get rid of it to prevent errors?
No real opinion. Looks like Windows allows single copy & multiple pastes. I don't think it matters much on our devices where we can only copy books (or possibly, an image to the screensaver directory).
Yeah, I got that. So you should indeed set it to nil when Paste after Cut. And if you can't detect Cut vs Copy at Paste time, fine to set it to nil in both cases (if you can detect that, well, no real opinion).
Not especially. We don't add "file" to Cut/Copy/Paste/Delete in the file manager, and we're in a files context in this Shorcuts thingy, so I don't mind just seeing "Paste". And it would make the buttons a bit larger. An other option is to just show the large button with "Paste file" here (in a 2 rows buttondialog) only if you have something in the clipboard (instead of always showing it either enabled or disabled).