Bring the "Press Enter" UI closer to the authentication experience
- "Press Enter" is both bold - "Enter" is capitalized - The prompt ends with "..."
This commit is contained in:
parent
a26fba7800
commit
a70b69e359
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue