summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/lib-tk/turtle.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/lib-tk/turtle.py b/Lib/lib-tk/turtle.py
index 4e73f52..dde5725 100644
--- a/Lib/lib-tk/turtle.py
+++ b/Lib/lib-tk/turtle.py
@@ -221,6 +221,8 @@ class RawPen:
self._canvas.coords(item, x0, y0, x, y)
self._canvas.update()
self._canvas.after(10)
+ # in case nhops==0
+ self._canvas.coords(item, x0, y0, x1, y1)
self._canvas.itemconfigure(item, arrow="none")
except Tkinter.TclError:
# Probably the window was closed!