sokol icon indicating copy to clipboard operation
sokol copied to clipboard

sokol_app: Command+Q quit event on macOS

Open TheSpydog opened this issue 5 years ago • 1 comments

Would it be possible to add support for the macOS Command+Q keyboard shortcut such that sokol_app registers the command as a system "quit" event? Having to click the red button in the title bar just feels wrong to my muscle memory. 😜

(I'm brand new to sokol_app, so if this is already possible, I apologize! I didn't see anything in the documentation about it, so I thought I'd ask here.)

TheSpydog avatar Feb 24 '20 20:02 TheSpydog

Yeah, this seems to require special handling on macOS, and hopefully shouldn't be too much work. I need to figure out how it works though.

floooh avatar Feb 25 '20 14:02 floooh