TerminalClipboardHandler
interface TerminalClipboardHandler
Host-facing clipboard abstraction used by the reusable Swing terminal.
Hosts can replace the default system implementation when embedding the component in an environment with its own clipboard, permission prompts, or test doubles.
Functions
Link copied to clipboard
Reads the native primary selection, or returns null when unsupported or without text. An empty string is available text. Never substitutes the ordinary clipboard. Like readText, this operation may block in native code.