window_mode command

window_mode
Command effect
This command allows you to set the display to window mode rather than full screen. The default value is full screen.

How to enter console commands

To open the command console, press Control Alt ~ / `. Type the command and press the Enter key.

Note that using commands will disable any game achievements. We recommend you save a version of your game before you starting using console commands.