Skip to content

Commit

Permalink
prevent accidental ^c
Browse files Browse the repository at this point in the history
  • Loading branch information
folkertvanheusden committed Feb 26, 2025
1 parent ecee798 commit d43a1e3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,7 @@
Console.WriteLine("Released in the public domain");
}

Console.CancelKeyPress += delegate {
Log.EmitDisassembly();
};
Console.TreatControlCAsInput = true;

#if DEBUG
Console.WriteLine("Debug mode");
Expand Down

0 comments on commit d43a1e3

Please sign in to comment.