From a70b69e359533197524416c92c555075eb7dc68e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Thu, 21 Jan 2021 17:41:55 +0100 Subject: [PATCH] Bring the "Press Enter" UI closer to the authentication experience - "Press Enter" is both bold - "Enter" is capitalized - The prompt ends with "..." --- pkg/cmd/pr/shared/commentable.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/pr/shared/commentable.go b/pkg/cmd/pr/shared/commentable.go index 9d9532325..55edccbcb 100644 --- a/pkg/cmd/pr/shared/commentable.go +++ b/pkg/cmd/pr/shared/commentable.go @@ -145,7 +145,7 @@ func CommentableInteractiveEditSurvey(cf func() (config.Config, error), io *iost editorCommand = surveyext.DefaultEditorName() } cs := io.ColorScheme() - fmt.Fprintf(io.Out, "Press %s to draft your comment in %s.", cs.Bold("enter"), cs.Bold(editorCommand)) + fmt.Fprintf(io.Out, "- %s to draft your comment in %s... ", cs.Bold("Press Enter"), cs.Bold(editorCommand)) _ = waitForEnter(io.In) return surveyext.Edit(editorCommand, "*.md", "", io.In, io.Out, io.ErrOut, nil) }