SwingTerminalHostShortcutMap
Immutable mapping from host-owned terminal actions to Swing shortcuts.
Each action has at most one shortcut, and each shortcut belongs to at most one action. Unspecified actions are unbound. Hosts explicitly install bindings using forEachShortcut or dispatch key events using actionFor.
Constructors
Functions
Link copied to clipboard
Returns the host action requested by keyCode and modifiersEx.
Link copied to clipboard
Invokes consumer once for each configured binding in action enum order. Unbound actions are omitted.
Link copied to clipboard
Returns the configured shortcut for action.
Link copied to clipboard
Returns a map with action unbound. This instance is unchanged.
Link copied to clipboard
fun withShortcut(action: SwingTerminalHostAction, shortcut: SwingTerminalHostShortcut): SwingTerminalHostShortcutMap