def __init__(self, protocol):
        self.naws_step = 0
        self.protocol = protocol
        self.protocol.protocol_flags['SCREENWIDTH'] = {0: DEFAULT_WIDTH} # windowID (0 is root):width
        self.protocol.protocol_flags['SCREENHEIGHT'] = {0: DEFAULT_HEIGHT} # windowID:width
        self.protocol.negotiationMap[NAWS] = self.negotiate_sizes
        self.protocol.do(NAWS).addCallbacks(self.do_naws, self.no_naws)
Get segment attribute
dataset/ETHPy150Open evennia/evennia/evennia/server/portal/naws.py/Naws.__init__--crossover with--dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/GetSegmentAttr