parameters: (self, usePos=True)
docstring: Closes current line item and starts a new one.
             Remark: if current line became too long, animation
             performance (via _drawline) slowed down considerably.
docstring_summary: Closes current line item and starts a new one.
             Remark: if current line became too long, animation
             performance (via _drawline) slowed down considerably.
docstring_tokens: Closes current line item and starts a new one . Remark : if current line became too long animation performance ( via _drawline ) slowed down considerably .
function: def _newLine(self, usePos=True):
          """Closes current line item and starts a new one.
             Remark: if current line became too long, animation
             performance (via _drawline) slowed down considerably.
          """
          if len(self.currentLine) > 1:
              self.screen._drawline(self.currentLineItem, self.currentLine,
                                        self._pencolor, self._pensize)
              self.currentLineItem = self.screen._createline()
              self.items.append(self.currentLineItem)
          else:
              self.screen._drawline(self.currentLineItem, top=True)
          self.currentLine = []
          if usePos:
              self.currentLine = [self._position]
function_tokens: def _newLine ( self , usePos = True ) : if len ( self . currentLine ) > 1 : self . screen . _drawline ( self . currentLineItem , self . currentLine , self . _pencolor , self . _pensize ) self . currentLineItem = self . screen . _createline ( ) self . items . append ( self . currentLineItem ) else : self . screen . _drawline ( self . currentLineItem , top = True ) self . currentLine = [ ] if usePos : self . currentLine = [ self . _position ]