mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-08-30 05:46:35 -04:00
Sync with latest libmutton development version
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user