Skip to content

Watch the Game in Your Terminal

Yes, the terminal can show the game that contains the terminal. Please resist putting that terminal on a screen inside the game unless you have made peace with recursion.

Terminal window
echo 1 > /sim/display/enabled
cat /sim/display/stream

Press Ctrl-C to stop reading, then turn capture back off:

Terminal window
echo 0 > /sim/display/enabled

The stream is already encoded as in-place Kitty graphics commands. A compatible purrTTY or Kitty terminal paints each frame; cat does not decode pixels itself.

Terminal window
echo 24 > /sim/display/fps
echo 640 > /sim/display/width
echo 360 > /sim/display/height
cat /sim/display/format

Capture is demand-paced. It costs nothing while disabled and only produces frames while a reader is present.