Fix docstring

This commit is contained in:
Kovid Goyal 2022-04-21 14:51:23 +05:30
parent 8fcd5e40d4
commit bdc039fbf5
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1570,7 +1570,7 @@ class Boss:
def current_primary_selection_or_clipboard(self) -> str:
return get_primary_selection() if supports_primary_selection else get_clipboard_string()
@ac('cp', 'Paste from the clipboard to the active window')
@ac('cp', 'Paste from the primary selection, if present, otherwise the clipboard to the active window')
def paste_from_selection(self) -> None:
text = self.current_primary_selection_or_clipboard()
self.paste_to_active_window(text)