(self, key, has_trailing_char)
Auguments:
            key -- key code returned by curses.
def __init__(self, key, has_trailing_char):
        """

        Auguments:
            key -- key code returned by curses.

        """

        self.key = self.KEY_TRANSLATE.get(key, key)
        self.has_trailing_char = has_trailing_char
def __init__ ( self , key , has_trailing_char ) : self . key = self . KEY_TRANSLATE . get ( key , key ) self . has_trailing_char = has_trailing_char