Clipboard icon indicating copy to clipboard operation
Clipboard copied to clipboard

cb cut does not remove the clipboard entry on windows

Open gkruschina opened this issue 2 years ago • 1 comments
trafficstars

cb cut "AVeryStrongPassword!" cb | some-program

The clipboard-entry "AveryStrongPassowrd" is still in the clipboard.

gkruschina avatar Oct 21 '23 09:10 gkruschina

Can confirm, this is the case on macOS as well. On Linux it works as intended.

$ cb cut "secure password donut steel"
 ✔  Cut text "secure password donut steel"                                                                                                            
$ cb paste
 ✔  Pasted one item                                                                                                                                   
$ cb paste
┃ There is currently nothing in the clipboard.                                                                                                        
┃ Add cut, copy, or paste to the end, like cb copy to get started, or if you need help, try cb -h to show the help screen.

iFreilicht avatar Sep 25 '24 22:09 iFreilicht

Fixed in https://github.com/Slackadays/Clipboard/commit/0fef41a02db4f21ef07417b3d02c823017daaa33

@eitamal @ydx-2147483647

Slackadays avatar Oct 19 '24 00:10 Slackadays