TerminalClipboardShortcuts

data class TerminalClipboardShortcuts(val copyKey: Int, val copyModifiers: Int, val pasteKey: Int, val pasteModifiers: Int)

Platform clipboard key bindings for the reusable Swing terminal.

The default follows terminal conventions for the current host OS. Embedders can replace this value when their shell, IDE, or application has a different native shortcut policy.

Constructors

Link copied to clipboard
constructor(copyKey: Int, copyModifiers: Int, pasteKey: Int, pasteModifiers: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

key code that requests copy.

Link copied to clipboard

exact modifier mask required for copy.

Link copied to clipboard

key code that requests paste.

Link copied to clipboard

exact modifier mask required for paste.

Functions

Link copied to clipboard
fun actionFor(keyCode: Int, modifiersEx: Int): TerminalClipboardAction

Returns the clipboard action requested by keyCode and modifiersEx.