Skip to content

0.1.22

Choose a tag to compare

@webdevarif webdevarif released this 07 Jun 23:28
· 19 commits to main since this release
fix(paste): char-type in terminals so TUIs accept text input

TUIs running inside terminals (Claude Code, vim, tmux, nano, btop)
intercept Ctrl+V and Ctrl+Shift+V for their own bindings — Claude Code
treats Ctrl+V as image-paste, hence "No image found in clipboard"
whenever we dictated into its prompt. The terminal emulator never gets
to handle the shortcut, so clipboard text never reaches the TUI.

New SMART command: PS helper inspects the foreground window per paste
and switches strategy.
  - Terminal window class detected (CASCADIA_HOSTING_WINDOW_CLASS,
    ConsoleWindowClass, mintty, etc.) → character typing via
    KEYEVENTF_UNICODE. TUI sees real key events, no shortcut to
    intercept. ~3ms/char, acceptable for typical voice text.
  - Anything else → instant clipboard + Ctrl+V shortcut, same as before.

Bump 0.1.20 → 0.1.21.