Skip to content

XKey v1.2.21 (Build 20260520)

Choose a tag to compare

@xmannv xmannv released this 20 May 06:13
· 90 commits to main since this release

What's New

feat: add clipboard paste injection method for TUI apps (Kiro CLI)

  • Add TextSendingMethod.paste for apps that drop CGEvent Unicode chars
  • Add PasteConfig struct with configurable parameters (delays, key combo,
    posting method, settle time) and presets (.tuiApp, .remoteDesktop)
  • Integrate PasteConfig into InjectionMethodInfo, WindowTitleRule,
    MergedRuleResult with full Codable support
  • Add Kiro CLI window title rule using .paste + .tuiApp config
  • sendTextViaPaste: clipboard set → Cmd+V via CGEvent.post → wait
  • Skip settle time when pasteConfig.skipSettleTime = true
  • No clipboard restore (avoids race condition on fast typing)