Add packaging and release automation

This commit is contained in:
vrubelroman 2026-04-23 00:21:36 +03:00
parent 2a3b58c44e
commit 8e51e47587
1082 changed files with 356427 additions and 0 deletions

17
vendor/github.com/muesli/termenv/termenv_posix.go generated vendored Normal file
View file

@ -0,0 +1,17 @@
//go:build darwin || dragonfly || freebsd || linux || netbsd || openbsd || zos
// +build darwin dragonfly freebsd linux netbsd openbsd zos
package termenv
import (
"golang.org/x/sys/unix"
)
func isForeground(fd int) bool {
pgrp, err := unix.IoctlGetInt(fd, unix.TIOCGPGRP)
if err != nil {
return false
}
return pgrp == unix.Getpgrp()
}