mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-05-22 10:15:43 +02:00
8a1f965e64
Bumps [github.com/creack/pty](https://github.com/creack/pty) from 1.1.11 to 1.1.24. - [Release notes](https://github.com/creack/pty/releases) - [Commits](https://github.com/creack/pty/compare/v1.1.11...v1.1.24) --- updated-dependencies: - dependency-name: github.com/creack/pty dependency-version: 1.1.24 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
21 lines
361 B
Go
21 lines
361 B
Go
//go:build !windows && !solaris && !aix
|
|
// +build !windows,!solaris,!aix
|
|
|
|
package pty
|
|
|
|
import "syscall"
|
|
|
|
// Local syscall const values.
|
|
const (
|
|
TIOCGWINSZ = syscall.TIOCGWINSZ
|
|
TIOCSWINSZ = syscall.TIOCSWINSZ
|
|
)
|
|
|
|
func ioctlInner(fd, cmd, ptr uintptr) error {
|
|
_, _, e := syscall.Syscall(syscall.SYS_IOCTL, fd, cmd, ptr)
|
|
if e != 0 {
|
|
return e
|
|
}
|
|
return nil
|
|
}
|