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

22
vendor/github.com/muesli/termenv/termenv_solaris.go generated vendored Normal file
View file

@ -0,0 +1,22 @@
//go:build solaris || illumos
// +build solaris illumos
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
}
g, err := unix.Getpgrp()
if err != nil {
return false
}
return pgrp == g
}