
* pkg/terminal: support ctrlz for shell job control This required forking peterh/liner under the go-delve org and using that instead since upstream is not open to supporting this feature. Fixes #2157 * Update liner * Update liner but correctly this time * upgrade golang.org/x/tools to 0.1.9
16 lines
201 B
Go
16 lines
201 B
Go
// +build linux darwin openbsd freebsd netbsd
|
|
|
|
package liner
|
|
|
|
import (
|
|
"os"
|
|
"syscall"
|
|
)
|
|
|
|
func handleCtrlZ() {
|
|
p, err := os.FindProcess(os.Getpid())
|
|
if err == nil {
|
|
p.Signal(syscall.SIGTSTP)
|
|
}
|
|
}
|