Skip to content

Commit

Permalink
Add debug log to prompt for enter
Browse files Browse the repository at this point in the history
  • Loading branch information
joaopalet committed May 7, 2024
1 parent c5e6f42 commit c97b0bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/pkg/print/print.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ func (p *Printer) PromptForEnter(prompt string) error {
if answer == 10 {
return nil
}
p.Debug(ErrorLevel, "got byte %d", answer)
return errAborted
}

Expand Down

0 comments on commit c97b0bd

Please sign in to comment.