title: Turtle-graphics keypress event not repeating
body: <p>The following code behaves differently in different environments.</p>
  
  <p>On my Windows machine (Windows 10, Python 3.6), each keypress creates a response and then nothing happens until I press a key again.</p>
  
  <p>On "Python Trinkets" (<a href="https://trinket.io/python" rel="nofollow noreferrer">https://trinket.io/python</a>) I don't need to repeat the keypress, as holding the key down creates repeat events.</p>
  
  <p>I know that the Trinket version is a JS implementation, but does that explain the difference entirely? Would the program behave the same on Linux or OS?</p>
  
  <p>More importantly, is there a way to make it work on Windows so that holding a key down creates repeat events?</p>
  
  <pre><code># import the turtle module so we can use all the neat code it contains
  import turtle
  
  # Create a variable `tina` that is a Turtle() object. Set shape to 'turtle'
  tina = turtle.Turtle()
  tina.shape('turtle')
  
  # Create a variable `screen`, a Screen() object, that will handle keyss
  screen = turtle.Screen()
  
  # Define functions for each arrow key
  def go_left():
    tina.left(7)
  
  def go_right():
    tina.right(7)
  
  def go_forward():
    tina.forward(10)
  
  def go_backward():
    tina.backward(10)
  
  # Tell the program which functions go with which keys
  screen.onkey(go_left, 'Left')
  screen.onkey(go_right, 'Right')
  screen.onkey(go_forward, 'Up')
  screen.onkey(go_backward, 'Down')
  
  # Tell the screen to listen for key presses
  screen.listen()
  turtle.done()
  </code></pre>