module EasyClip

Extended Modules

Defined in:

easyclip.cr

Constant Summary

VERSION = {{ (`shards version /srv/crystaldoc.info/github-kojix2-easyclip-v0.1.1/src`).chomp.stringify }}

Instance Method Summary

Instance Method Detail

def copy(content : String) : Nil #

Copies the given content to the clipboard. Note for Windows: Trailing newline characters will be appended to the content when copied to the clipboard.


[View source]
def paste : String #

Retrieves the content from the clipboard.


[View source]