diff --git a/term/term_unix.go b/term/term_unix.go index 5a966b8..ad677ce 100644 --- a/term/term_unix.go +++ b/term/term_unix.go @@ -22,7 +22,7 @@ func EnterRawMode() error { restore = *termios termios.Lflag = termios.Lflag &^ (unix.ECHO | unix.ICANON | unix.ISIG | unix.IEXTEN) termios.Iflag = termios.Iflag &^ (unix.IXON | unix.ICRNL | unix.BRKINT | unix.INPCK | unix.ISTRIP) - termios.Cflag = termios.Cflag | unix.CS8 + termios.Cflag = termios.Cflag | unix.CS8 if err := unix.IoctlSetTermios(unix.Stdin, unix.TCSETSF, termios); err != nil { return err