def size_received(rows, columns):
    " TelnetProtocolParser 'size_received' callback "
    self.size = Size(rows=rows, columns=columns)
    cb.terminal_size_changed()
TelnetProtocolParser 'size_received' callback
def size_received(rows, columns):
    "  "
    self.size = Size(rows=rows, columns=columns)
    cb.terminal_size_changed()