Skip to content

Commit a70b69e

Browse files
mislavsamcoe
authored andcommitted
Bring the "Press Enter" UI closer to the authentication experience
- "Press Enter" is both bold - "Enter" is capitalized - The prompt ends with "..."
1 parent a26fba7 commit a70b69e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmd/pr/shared/commentable.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ func CommentableInteractiveEditSurvey(cf func() (config.Config, error), io *iost
145145
editorCommand = surveyext.DefaultEditorName()
146146
}
147147
cs := io.ColorScheme()
148-
fmt.Fprintf(io.Out, "Press %s to draft your comment in %s.", cs.Bold("enter"), cs.Bold(editorCommand))
148+
fmt.Fprintf(io.Out, "- %s to draft your comment in %s... ", cs.Bold("Press Enter"), cs.Bold(editorCommand))
149149
_ = waitForEnter(io.In)
150150
return surveyext.Edit(editorCommand, "*.md", "", io.In, io.Out, io.ErrOut, nil)
151151
}

0 commit comments

Comments
 (0)