mirror of
https://github.com/restic/restic.git
synced 2025-12-11 18:47:50 +00:00
ui/termstatus: extract background handling code
This commit is contained in:
7
internal/terminal/getpgrp_unix.go
Normal file
7
internal/terminal/getpgrp_unix.go
Normal file
@@ -0,0 +1,7 @@
|
||||
//go:build unix && !solaris
|
||||
|
||||
package terminal
|
||||
|
||||
import "golang.org/x/sys/unix"
|
||||
|
||||
func Getpgrp() int { return unix.Getpgrp() }
|
||||
Reference in New Issue
Block a user