From a9ca4bfe681a1e5f50e7af86117e634eaf05d7f4 Mon Sep 17 00:00:00 2001 From: Christy Perez Date: Tue, 30 May 2017 15:37:58 -0400 Subject: [PATCH] switch terminal_linux to x/sys/unix from syscall Closes sirupsen/logrus/issues/515 Signed-off-by: Christy Perez --- terminal_linux.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terminal_linux.go b/terminal_linux.go index 308160c..c13a944 100644 --- a/terminal_linux.go +++ b/terminal_linux.go @@ -7,8 +7,8 @@ package logrus -import "syscall" +import "golang.org/x/sys/unix" -const ioctlReadTermios = syscall.TCGETS +const ioctlReadTermios = unix.TCGETS type Termios syscall.Termios