diff --git a/sys/termios.go b/sys/termios.go index 36bb53d1..2da4b830 100644 --- a/sys/termios.go +++ b/sys/termios.go @@ -4,11 +4,9 @@ package sys #include */ import "C" -import +import "syscall" // Termios represents terminal attributes. -"syscall" - type Termios C.struct_termios // NewTermiosFromFd extracts the terminal attribute of the given file