

def _patch(self):
    ENABLE_ECHO_INPUT = 4
    ENABLE_LINE_INPUT = 2
    ENABLE_PROCESSED_INPUT = 1
    windll.kernel32.SetConsoleMode(self.handle, (ENABLE_ECHO_INPUT.original_mode.value & (~ ((ENABLE_ECHO_INPUT | ENABLE_LINE_INPUT) | ENABLE_PROCESSED_INPUT))))

dataset/ETHPy150Open jonathanslenders/python-prompt-toolkit/prompt_toolkit/terminal/win32_input.py raw_mode._patch/VarMisuse@33/58 `self`->`ENABLE_ECHO_INPUT`