Codex caps lines of code per instruction?

If I type “make an asteroid shooting game”, it starts doing its thing correctly but the code gets truncated at some point. Is there a hard limit or timeout on this?

Picture of how it ends:
image