Skip to content

Commit

Permalink
Proper prompt message on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
roblaszczak committed May 21, 2022
1 parent 7d6b9ec commit 5f192d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/confirm.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func Prompt(actions Actions, stdin io.Reader, stdout io.Writer) rune {
var actionsStr []string
for _, action := range actions {
keyString := action.KeyString()
if enterRequired && action.Shortcut == '\n' {
if enterRequired && action.Shortcut != '\n' {
keyString += " and ENTER"
}

Expand Down

0 comments on commit 5f192d7

Please sign in to comment.