Skip to content

Commit

Permalink
fix: dialogue for cannot resave
Browse files Browse the repository at this point in the history
  • Loading branch information
sanriodev committed Nov 20, 2024
1 parent fa343cb commit 5d0dd73
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion util/clipboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ import (
)

func CopyToClipboard(emoji string, cannotReSave bool) {
fmt.Println("Do you want to copy this emoji to the clipboard? (y/n/save)")

if cannotReSave {
fmt.Println("Do you want to copy this emoji to the clipboard? (y/n)")
} else {
fmt.Println("Do you want to copy this emoji to the clipboard? (y/n/save)")
}

var input string
fmt.Scanln(&input)
Expand Down

0 comments on commit 5d0dd73

Please sign in to comment.