Skip to content

Commit e0add51

Browse files
committed
pygame.QUIT and SIGTERM has no relation
1 parent 5b97148 commit e0add51

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

guide/intro/chapter-2/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,7 @@ <h2><a id="setup" class="js">Setup</a></h2>
8585
So any keypress, mouse input or touch input was recorded here.
8686
<br>
8787
<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
88+
<code>pygame.QUIT</code> is sent when the user closes the window
9089
{% highlight python %}
9190
import pygame
9291

0 commit comments

Comments
 (0)