We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25faa84 commit 1c88f24Copy full SHA for 1c88f24
1 file changed
internal/action/actions_posix.go
@@ -14,9 +14,8 @@ import (
14
func (*BufPane) Suspend() bool {
15
screenb := screen.TempFini()
16
17
- // suspend the process
18
- pid := syscall.Getpid()
19
- err := syscall.Kill(pid, syscall.SIGSTOP)
+ // suspend the process group
+ err := syscall.Kill(0, syscall.SIGSTOP)
20
if err != nil {
21
screen.TermMessage(err)
22
}
0 commit comments