Fix #1892: make yank functionality clearer

This commit is contained in:
Oliver Blanthorn 2019-10-25 15:00:32 +01:00
parent 62b3f8c018
commit e987bb88ec
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -2820,7 +2820,9 @@ export async function fillcmdline_tmp(ms: number, ...strarr: string[]) {
}
/**
* Copy content to clipboard without feedback. Use `clipboard yank` for interactive use.
* Copy `content` to clipboard without feedback. Use `clipboard yank` for interactive use.
*
* e.g. `yank bob` puts "bob" in the clipboard; `composite js document.title | yank` puts the document title in the clipboard.
*/
//#background
export function yank(...content: string[]) {