terminal: unexport tcgetpgrp, tcsetpgrp and getpgrp

This commit is contained in:
Michael Eischer
2025-09-08 10:55:58 +02:00
parent e7890d7b81
commit b71b77fa77
8 changed files with 12 additions and 12 deletions

View File

@@ -16,9 +16,9 @@ func IsProcessBackground(fd uintptr) bool {
}
func isProcessBackground(fd int) (bg bool, err error) {
pgid, err := Tcgetpgrp(fd)
pgid, err := tcgetpgrp(fd)
if err != nil {
return false, err
}
return pgid != Getpgrp(), nil
return pgid != getpgrp(), nil
}