Skip to main content

Module clipboard

Module clipboard 

Source
Expand description

Clipboard image paste support for TUI.

Reads image data from the system clipboard and converts it to an ImageAttachment suitable for sending with a chat message.

Functionsยง

get_clipboard_image
Extract an image from the system clipboard, returning None when unavailable (SSH/headless, no clipboard, or no image content).