Playdate.exit() / playdate->system->exit()

, ,

It’d be nice to be able to close the app programmatically. In the project I’m working on, there’s a rare situation in which the user needs to restart the app entirely to make a certain configuration change; it’d be useful to be able to prompt them with a “quit to system?” and then close the app.

why not just use playdate.restart?

1 Like

oh that’s perfect! I did not think of that.

I’ll still leave this feature request open since I think there are probably some other times when quitting would itself be useful, but restart works for my purposes.