title: Printing line with end='\r' on Windows doesn't seem to work?
body: <p>I'm creating a prime number finding script, and I want to print what number is currently active.</p>
  
  <pre><code>def is_divisible(number: int, dividor: int) -&gt; bool:
      float_number = number / dividor
      if float_number.is_integer():
          return True
      return False
  
  
  def is_prime(number: int) -&gt; bool:
      """
          Returns a bool, whether the a number is a prime.
      :param number: number
      :return: bool (True if it is a prime, False if it's not a prime)
      """
      tmp_numbers = set()
  
      for i in range(2, number):
          if any(is_divisible(i, n) for n in tmp_numbers):
              continue
  
          if is_divisible(number, i):
              return False
  
          tmp_numbers.add(i)
  
      return True
  
  
  number = 99999999
  for i in range(2, 90000):
      print("checking {}".format(i), end="\r")
      if is_prime(i) and is_prime(i + 4) and is_prime(i + 8):
          print(i)
  </code></pre>
  
  <p>When I terminate the script, I can see that line ("checking ...") but while it's executing I can't see it.</p>