KetraTerm
API · DevelopmentAll versions

pasteClipboardText

Pastes text from the host clipboard into the active terminal session.

Call on the EDT. Clipboard callbacks run synchronously and propagate their failures; hosts reading the clipboard asynchronously can complete through pasteText. Unbound and closed sessions do not read the clipboard.

Return

true when nonempty clipboard text was admitted by the bound session, false otherwise, including outside the EDT. Admission does not promise transport completion.