Skip to content

fix: handle ctrl+c attempt on windows if running bat/cmd scripts#381

Open
NSPC911 wants to merge 1 commit intonat-n:developmentfrom
NSPC911-forks:fix-.bat
Open

fix: handle ctrl+c attempt on windows if running bat/cmd scripts#381
NSPC911 wants to merge 1 commit intonat-n:developmentfrom
NSPC911-forks:fix-.bat

Conversation

@NSPC911
Copy link
Copy Markdown
Contributor

@NSPC911 NSPC911 commented Apr 20, 2026

Description of changes

fixes #379

CTRL_BREAK_EVENT doesn't handle the weird behaviour with .bat/.cmd files, where it asks for confirmation before continuing, but the event does something weird, resulting in corruption of the shell. This should solve the issue.

AI was used in this PR. I can't get OpenCode to share the session, though.

Pre-merge Checklist

  • New features (if any) are covered by new feature tests
  • New features (if any) are documented
  • Bug fixes (if any) are accompanied by a test (if not too complicated to do so)
  • poe check executed successfully
  • This PR targets the development branch for code changes or main if only documentation is updated

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