Bump x/crypto to 0.31.0

This commit is contained in:
Bas Westerbaan
2025-02-03 16:07:10 +01:00
parent b187879e69
commit c19f919428
147 changed files with 18932 additions and 5660 deletions

View File

@@ -26,6 +26,7 @@ func makeRaw(fd int) (*State, error) {
return nil, err
}
raw := st &^ (windows.ENABLE_ECHO_INPUT | windows.ENABLE_PROCESSED_INPUT | windows.ENABLE_LINE_INPUT | windows.ENABLE_PROCESSED_OUTPUT)
raw |= windows.ENABLE_VIRTUAL_TERMINAL_INPUT
if err := windows.SetConsoleMode(windows.Handle(fd), raw); err != nil {
return nil, err
}