code: def putch(self, char):
          
          if char == '\r':
              self.carriage_return()
  
          elif char == '\n':
              self.newline()
  
          elif char == '\b':
              self.backspace()
  
          elif char == '\t':
              self.tab()
  
          else:
              w = self.font.getsize(char)[0]
              if self._cx + w >= self._device.width:
                  self.newline()
  
              self.erase()
              self._canvas.text((self._cx, self._cy),
                                text=char,
                                font=self.font,
                                fill=self._fgcolor)
  
              self._cx += w
              if self.animate:
                  self.flush()
docs: Prints the specific character, which must be a valid printable ASCII
          value in the range 32..127 only, or one of carriage return (\\r),
          newline (\\n), backspace (\\b) or tab (\\t).
  
          :param char: The character to print.