Forcibly closes the current screen.
Running this tool is usually equivalent to pressing Esc
LEAVESCREEN), but will bypass the screen’s input handling. This is intended
primarily for development, if you have created a screen whose input handling
throws an error before it handles Esc (or if you have forgotten to
handle Esc entirely).
If you run this script when the current screen does not have a parent, this will cause DF to exit immediately. These screens include:
The main fortress mode screen (
The main adventure mode screen (
The main legends mode screen (
The title screen (