ui/termstatus: extract background handling code

This commit is contained in:
Michael Eischer
2025-09-07 12:15:27 +02:00
parent 6ff7cd9050
commit 48cbbf9651
11 changed files with 18 additions and 17 deletions

View File

@@ -0,0 +1,9 @@
//go:build unix && !aix
package terminal
import "golang.org/x/sys/unix"
func Tcsetpgrp(fd int, pid int) error {
return unix.IoctlSetPointerInt(fd, unix.TIOCSPGRP, pid)
}