Skip to content

Conversation

@gabrielste1n
Copy link
Collaborator

Replace the slow PowerShell SendKeys paste path (~2-5s) with a native C binary using Win32 SendInput API (~10ms). The binary detects terminal emulators (Windows Terminal, cmd, Git Bash, ConEmu, PuTTY, etc.) and sends Ctrl+Shift+V for terminals, Ctrl+V for normal apps.

Fallback chain: windows-fast-paste.exe → nircmd.exe → PowerShell.

Replace the slow PowerShell SendKeys paste path (~2-5s) with a native
C binary using Win32 SendInput API (~10ms). The binary detects terminal
emulators (Windows Terminal, cmd, Git Bash, ConEmu, PuTTY, etc.) and
sends Ctrl+Shift+V for terminals, Ctrl+V for normal apps.

Fallback chain: windows-fast-paste.exe → nircmd.exe → PowerShell.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant