def get_symbol():
    ch = read_char()
    ch_code = ord(ch)
    # check for multibyte string
    if ch_code == keys.ESC:
        ch = read_char_no_blocking()
        if ch == '':
            # ESC key pressed
            return keys.ESC
        elif ch != 'O' and ch != '[':
            return ord(ch)
        else:
            ch = read_char_no_blocking()
            if ch == 'A':
                return keys.UP
            elif ch == 'B':
                return keys.DOWN
            elif ch == 'C':
                return keys.RIGHT
            elif ch == 'D':
                return keys.LEFT
            elif ch == 'Z':
                return keys.SHIFTTAB
    return ch_code
A collection of :class:`.Activity` objects. This behaves like a
dataset/ETHPy150Open pindexis/qfc/qfc/readchar.py/get_symbol--crossover with--dataset/ETHPy150Open STIXProject/python-stix/stix/campaign/__init__.py/Campaign.activity