feat: initial commit

This commit is contained in:
l.weber 2025-12-05 12:20:05 +01:00
commit a161b86c9a
705 changed files with 288162 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
}