#NEWLINE# def __init__( self , view , rows = 24 , cols = 80 , monitor = None , cmd = None , update = None , modify = None ) : #NEWLINE# #INDENT# self . view = view #NEWLINE# self . monitor = monitor #NEWLINE# self . rows = rows #NEWLINE# self . cols = cols #NEWLINE# self . cmd = ( cols or self . DEFAULT_CMD ) #NEWLINE# self . update_callback = update #NEWLINE# self . modify_callback = modify #NEWLINE# self . proc = None #NEWLINE# self . input = None #NEWLINE# self . output = None #NEWLINE# self . row = self . col = 0 #NEWLINE# self . mode = 'n' #NEWLINE# self . modified = False #NEWLINE# self . visual = ( 0 , 0 ) #NEWLINE# self . visual_selected = False #NEWLINE# self . panel = None #NEWLINE# self . tty = None #NEWLINE# self . __serve ( ) #NEWLINE# self . __spawn ( )