Skip to content

Commit 9226f72

Browse files
fix(windows): require win-text-inject 0.1.1
0.1.1 fixes an intermittent abort when publishing the delayed-render promise. SetClipboardData returns NULL on success for that call, which windows-rs surfaces as Err, and Win32 does not reset the thread last-error on success, so a stale code read as a failure that never happened. Seen while driving this branch through real dictations: one paste in four aborted with ERROR_NOT_FOUND and fell back to the timer path. With 0.1.1 the fallback no longer triggers. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent c8628d8 commit 9226f72

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src-tauri/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ winreg = "0.55"
117117
# sanitization before the paste chord, an integrity-level check so injection
118118
# into elevated windows fails loudly instead of silently, and a delayed-render
119119
# restore that waits for the target's actual read instead of a fixed delay.
120-
win-text-inject = "0.1"
120+
win-text-inject = "0.1.1"
121121

122122
# Whisper backend per Windows arch. x86_64 ships the Vulkan GPU backend and
123123
# keeps the dynamic-backends posture (loadable per-ISA CPU modules + Vulkan),

0 commit comments

Comments
 (0)