:white_check_mark::apple: Allow Ctrl+C to only start command mode on Mac

Add requirement of .platform-darwin to Ctrl+C entering command mode.
Add helper to mock platforms in tests
Make Ctrl+C test mock platform-darwin before testing