Skip to content

fix(windows): hide console window flash when starting recording#49

Merged
moinulmoin merged 1 commit intomoinulmoin:mainfrom
tomchapin:fix/windows-console-flash-on-recording
Jan 29, 2026
Merged

fix(windows): hide console window flash when starting recording#49
moinulmoin merged 1 commit intomoinulmoin:mainfrom
tomchapin:fix/windows-console-flash-on-recording

Conversation

@tomchapin
Copy link
Copy Markdown
Contributor

Summary

  • Add CREATE_NO_WINDOW flag to PowerShell process that plays the recording start beep on Windows
  • Prevents a brief black console window from flashing each time recording begins

Problem

On Windows, when starting a recording, a black console window would briefly flash on screen. This was caused by the PowerShell process spawning without the CREATE_NO_WINDOW flag.

Solution

Added std::os::windows::process::CommandExt and applied .creation_flags(CREATE_NO_WINDOW) to hide the console window.

Test plan

  • Tested on Windows - console window no longer flashes when starting recording
  • Recording start sound still plays correctly

🤖 Generated with Claude Code

Add CREATE_NO_WINDOW flag to PowerShell process that plays the
recording start sound on Windows. This prevents a brief black
console window from appearing each time recording begins.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

2 participants