Address JetBrains warnings; bump dependencies

This commit is contained in:
2025-12-26 19:38:21 -05:00
parent aaf69eb590
commit 88c60cc036
6 changed files with 38 additions and 33 deletions
+3 -1
View File
@@ -62,7 +62,9 @@ func CopyMenu(vanityPath string, decSlice []string, oldPassword string) {
signal.Notify(sigChan, os.Interrupt, syscall.SIGTERM)
go func() {
<-sigChan
clip.ClipClearProcess("")
if err = clip.ClearProcess(""); err != nil {
other.PrintError("Failed to clear clipboard on exit", global.ErrorClipboard)
}
os.Exit(0)
}()