KetraTerm
API · DevelopmentAll versions

SwingClipboardPrompts

Shared clipboard consent wording; terminal names are treated as untrusted text.

Properties

Link copied to clipboard
const val TITLE: String

English title retained for callers using the original constant; localized dialogs resolve clipboard.title.

Functions

Link copied to clipboard
fun readQuestion(profileName: String, clipboardName: String = SwingHostMessages.forLocale().message("clipboard.clipboardName")): String

Read consent never contains clipboard contents or a claimed process origin.

fun readQuestion(profileName: String, clipboardName: String? = null, messages: SwingHostMessages): String

Localized read warning; a missing clipboardName uses the provider's host clipboard name.

Link copied to clipboard
fun writeConfirmation(profileName: String, text: String, clipboardName: String = SwingHostMessages.forLocale().message("clipboard.clipboardName")): SwingDialogRequest

Shared write choices and safe initial action for both product presenters.

fun writeConfirmation(profileName: String, text: String, clipboardName: String? = null, messages: SwingHostMessages): SwingDialogRequest

Localized write choices retain Allow/Deny indices and the safe initial Deny action.

Link copied to clipboard
fun writeQuestion(profileName: String, text: String, clipboardName: String = SwingHostMessages.forLocale().message("clipboard.clipboardName")): String

Write consent describes clear/count semantics without disclosing the payload.

fun writeQuestion(profileName: String, text: String, clipboardName: String? = null, messages: SwingHostMessages): String

Localized write warning; only a Unicode code-point count is passed to messages.