We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b97148 commit e0add51Copy full SHA for e0add51
guide/intro/chapter-2/index.html
@@ -85,8 +85,7 @@ <h2><a id="setup" class="js">Setup</a></h2>
85
So any keypress, mouse input or touch input was recorded here.
86
<br>
87
<br>In this case, we want to loop over these events and check if the user pressed the X button.
88
- More precisely, this checks for the <a href="https://www.gnu.org/software/libc/manual/html_node/Termination-Signals.html#index-SIGTERM">SIGTERM</a>
89
- signal from your operating system which is what the X button sends
+ <code>pygame.QUIT</code> is sent when the user closes the window
90
{% highlight python %}
91
import pygame
92
0 commit comments