mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-09-05 16:47:20 -04:00
Sync with latest libmutton development version
This commit is contained in:
+1
-3
@@ -1,8 +1,6 @@
|
|||||||
|
/*.exe*
|
||||||
/mutn
|
/mutn
|
||||||
/mutn.exe
|
|
||||||
/MUTN
|
/MUTN
|
||||||
/MUTN.exe
|
|
||||||
/main
|
/main
|
||||||
/main.exe
|
|
||||||
/version.go
|
/version.go
|
||||||
1output
|
1output
|
||||||
|
|||||||
+1
-1
@@ -62,7 +62,7 @@ func CopyMenu(vanityPath string, decSlice []string, oldPassword string) {
|
|||||||
|
|
||||||
// set up signal handling for ctrl+c to clear clipboard
|
// set up signal handling for ctrl+c to clear clipboard
|
||||||
sigChan := make(chan os.Signal, 1)
|
sigChan := make(chan os.Signal, 1)
|
||||||
signal.Notify(sigChan, os.Interrupt, syscall.SIGTERM)
|
signal.Notify(sigChan, os.Interrupt, syscall.SIGINT, syscall.SIGTERM)
|
||||||
go func() {
|
go func() {
|
||||||
<-sigChan
|
<-sigChan
|
||||||
if err = clip.ClearProcess(""); err != nil {
|
if err = clip.ClearProcess(""); err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user