From dee1914d90355eda2951aa845cce900071430fb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20B=C3=A4rtschi?= Date: Thu, 30 Jan 2025 11:10:53 +0100 Subject: [PATCH] removed carriage return --- term/term_unix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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