Skip to content

Commit 0913b4c

Browse files
authored
how to show terminal in default loop sample
1 parent af8ce9b commit 0913b4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wiki/pygbag/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ You won't need to change much of your project's code to make it compatible with
2323
3. Put `await asyncio.sleep(0)` anywhere in your game loop. Right after your `clock.tick()` is fine.
2424
4. Put `asyncio.run(main())` at the end of the file. The game loop will be run here, so any additional lines will not be run.
2525

26-
Here's a working example for what `main.py` might look like.
26+
Here's a working example for what `main.py` might look like ( to get a working console use -i in cpython arguments eg http://localhost:8000?-i )
2727
```py
2828
import asyncio
2929
import pygame

0 commit comments

Comments
 (0)