#NEWLINE# def _set_cursor( self ) : #NEWLINE# #INDENT# c = self . console #NEWLINE# ( xc , yc ) = self . prompt_end_pos #NEWLINE# ( w , h ) = c . size ( ) #NEWLINE# xc += self . mode . l_buffer . visible_line_width ( ) #NEWLINE# while ( xc >= w ) : #NEWLINE# #INDENT# xc -= w #NEWLINE# yc += 1 #NEWLINE# #UNINDENT# c . pos ( xc , yc )