diff --git a/.gitignore b/.gitignore index 8f7ed3d..ad271cc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,6 @@ +/*.exe* /mutn -/mutn.exe /MUTN -/MUTN.exe /main -/main.exe /version.go 1output diff --git a/src/cli/copyMenu.go b/src/cli/copyMenu.go index 1b49401..d0402c1 100644 --- a/src/cli/copyMenu.go +++ b/src/cli/copyMenu.go @@ -62,7 +62,7 @@ func CopyMenu(vanityPath string, decSlice []string, oldPassword string) { // set up signal handling for ctrl+c to clear clipboard sigChan := make(chan os.Signal, 1) - signal.Notify(sigChan, os.Interrupt, syscall.SIGTERM) + signal.Notify(sigChan, os.Interrupt, syscall.SIGINT, syscall.SIGTERM) go func() { <-sigChan if err = clip.ClearProcess(""); err != nil {