Skip to content

Commit f83eab7

Browse files
authored
Clarify description for Reset Empty Clipboard/Selection (#136)
Reword the description to be less ambiguous: make it clear the command restores (not clears) clipboard contents, and replace "X11 selection" with user-friendly language. Fixes #133 Assisted-by: Claude (Anthropic)
1 parent ca5ea8d commit f83eab7

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

‎README.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,9 @@ Requires [marked](https://marked.js.org/).
427427

428428
## [Reset Empty Clipboard/Selection](commands/reset-empty-clipboard.ini)
429429

430-
Resets last clipboard text (or X11 selection) if it's cleared.
430+
Automatically restores previous clipboard text if cleared. Also restores
431+
[the primary selection](https://copyq.readthedocs.io/en/latest/scripting-api.html#primary-selection)
432+
if cleared.
431433

432434
## [Save Item/Clipboard To a File](commands/save-item-clipboard-to-file.ini)
433435

‎Scripts/README.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ This command makes the last set state persistent between application launches.
6464

6565
### [Reset Empty Clipboard/Selection](../commands/reset-empty-clipboard.ini)
6666

67-
Resets last clipboard text (or X11 selection) if it's cleared.
67+
Automatically restores previous clipboard text if cleared. Also restores
68+
[the primary selection](https://copyq.readthedocs.io/en/latest/scripting-api.html#primary-selection)
69+
if cleared.
6870

6971
### [Show on Start](../commands/show-on-start.ini)
7072

0 commit comments

Comments
 (0)