module EasyClip

Extended Modules

Defined in:

easyclip.cr

Constant Summary

VERSION = {{ (`shards version /home/runner/work/easyclip/easyclip/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]