[][src]Function tetra::input::get_clipboard_text

pub fn get_clipboard_text(ctx: &Context) -> Result<String>

Gets the text currently stored in the system's clipboard.

Errors

  • TetraError::PlatformError will be returned if the text could not be retrieved from the clipboard.