Features
Cancel recording - New ability to abort an in-progress recording and discard the audio without transcribing or injecting text.
Useful when you hit your shortcut by accident or start speaking and want to bail out.
Three ways to cancel:
- FIFO command: echo cancel > ~/.config/hyprwhspr/recording_control - bindable to any external hotkey manager
- CLI: hyprwhspr record cancel
- Dedicated shortcut: Set "cancel_shortcut": "SUPER+ESCAPE" (or any key combo) in config to get a native cancel key
Works in all recording modes including long-form, where it discards all accumulated segments and resets the session to idle.
Improved
- Thread safety for cancel operations with proper _recording_lock acquisition
- Long-form cancel correctly initializes segment manager and acquires _longform_lock before modifying shared state
- Exception handler in cancel path now stops audio capture to prevent orphaned recording threads
Full Changelog: v1.18.16...v1.19.0