module SFML::Clipboard

The system clipboard. UTF-8 in, UTF-8 out — even when the OS stores it as wide chars, we go through CSFML’s *UnicodeString variants and convert in Ruby so non-ASCII text round-trips losslessly.

SFML::Clipboard.text #=> “whatever was last copied” SFML::Clipboard.text = “пример”

Useful inside text-input UIs (Ctrl+C / Ctrl+V handlers) and for quick “copy that error message” buttons in tools.