From 1f928815e51b2968dfdaf5589cd165c1a1bc3a7a Mon Sep 17 00:00:00 2001 From: Andrew Hsu Date: Fri, 9 Jun 2017 20:55:50 +0000 Subject: [PATCH] Revert "Set OPOST on bsd" This reverts commit fff42c853aedd3e15c731217058642d9859e7d3f. Signed-off-by: Andrew Hsu --- components/engine/pkg/term/termios_bsd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/engine/pkg/term/termios_bsd.go b/components/engine/pkg/term/termios_bsd.go index 9fdc720f25..c47341e873 100644 --- a/components/engine/pkg/term/termios_bsd.go +++ b/components/engine/pkg/term/termios_bsd.go @@ -27,7 +27,7 @@ func MakeRaw(fd uintptr) (*State, error) { newState := oldState.termios newState.Iflag &^= (unix.IGNBRK | unix.BRKINT | unix.PARMRK | unix.ISTRIP | unix.INLCR | unix.IGNCR | unix.ICRNL | unix.IXON) - newState.Oflag |= unix.OPOST + newState.Oflag &^= unix.OPOST newState.Lflag &^= (unix.ECHO | unix.ECHONL | unix.ICANON | unix.ISIG | unix.IEXTEN) newState.Cflag &^= (unix.CSIZE | unix.PARENB) newState.Cflag |= unix.CS8