We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d598954 commit f867b76Copy full SHA for f867b76
term_windows.go
@@ -26,6 +26,7 @@ func makeRaw(fd int) (*State, error) {
26
return nil, err
27
}
28
raw := st &^ (windows.ENABLE_ECHO_INPUT | windows.ENABLE_PROCESSED_INPUT | windows.ENABLE_LINE_INPUT | windows.ENABLE_PROCESSED_OUTPUT)
29
+ raw |= windows.ENABLE_VIRTUAL_TERMINAL_INPUT
30
if err := windows.SetConsoleMode(windows.Handle(fd), raw); err != nil {
31
32
0 commit comments