mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-19 00:28:03 +02:00
go mod vendor
This commit is contained in:
committed by
Jesse Duffield
parent
2dcc52abd0
commit
8a06b6067e
13
vendor/github.com/creack/pty/ioctl.go
generated
vendored
Normal file
13
vendor/github.com/creack/pty/ioctl.go
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
// +build !windows,!solaris
|
||||
|
||||
package pty
|
||||
|
||||
import "syscall"
|
||||
|
||||
func ioctl(fd, cmd, ptr uintptr) error {
|
||||
_, _, e := syscall.Syscall(syscall.SYS_IOCTL, fd, cmd, ptr)
|
||||
if e != 0 {
|
||||
return e
|
||||
}
|
||||
return nil
|
||||
}
|
Reference in New Issue
Block a user