Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Lib/turtle.py
Original file line number Diff line number Diff line change
Expand Up @@ -1002,6 +1002,9 @@ def __init__(self, cv, mode=_CFG["mode"],
rootwindow.wm_attributes(topmost=True)
rootwindow.wm_attributes(topmost=False)

# A new screen means that turtle graphics is running again.
TurtleScreen._RUNNING = True

def clear(self):
"""Delete all drawings and all turtles from the TurtleScreen.

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Creating a new :mod:`turtle` screen after the previous one was closed no
longer raises ``turtle.Terminator`` on the first turtle command.
Loading