mirror of
https://github.com/mudler/luet.git
synced 2025-09-06 01:30:29 +00:00
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.3.4 to 3.6.1. - [Release notes](https://github.com/helm/helm/releases) - [Commits](https://github.com/helm/helm/compare/v3.3.4...v3.6.1) --- updated-dependencies: - dependency-name: helm.sh/helm/v3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
20 lines
321 B
Go
20 lines
321 B
Go
// +build !windows
|
|
|
|
package term
|
|
|
|
import (
|
|
"golang.org/x/sys/unix"
|
|
)
|
|
|
|
func tcget(fd uintptr) (*Termios, error) {
|
|
p, err := unix.IoctlGetTermios(int(fd), getTermios)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return p, nil
|
|
}
|
|
|
|
func tcset(fd uintptr, p *Termios) error {
|
|
return unix.IoctlSetTermios(int(fd), setTermios, p)
|
|
}
|