diff --git a/README.md b/README.md index 83dd133a..c2d4ff31 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A library for building interactive prompts. - + ```go package main @@ -93,7 +93,7 @@ go run examples/validation.go ### Input - + ```golang name := "" @@ -105,7 +105,7 @@ survey.AskOne(prompt, &name, nil) ### Password - + ```golang password := "" @@ -117,7 +117,7 @@ survey.AskOne(prompt, &password, nil) ### Confirm - + ```golang name := false @@ -129,7 +129,7 @@ survey.AskOne(prompt, &name, nil) ### Select - + ```golang color := "" @@ -153,7 +153,7 @@ prompt := &survey.Select{..., PageSize: 10} ### MultiSelect - + ```golang days := []string{} @@ -215,7 +215,7 @@ validators include: All of the prompts have a `Help` field which can be defined to provide more information to your users: - + ```golang &survey.Input{ @@ -283,12 +283,12 @@ in `survey/core`: | name | default | description | | ------------------ | ------- | ------------------------------------------------------------- | -| ErrorIcon | ✘ | Before an error | -| HelpIcon | ⓘ | Before help text | +| ErrorIcon | X | Before an error | +| HelpIcon | i | Before help text | | QuestionIcon | ? | Before the message of a prompt | -| SelectFocusIcon | ❯ | Marks the current focus in `Select` and `MultiSelect` prompts | -| MarkedOptionIcon | ◉ | Marks a chosen selection in a `MultiSelect` prompt | -| UnmarkedOptionIcon | ◯ | Marks an unselected option in a `MultiSelect` prompt | +| SelectFocusIcon | > | Marks the current focus in `Select` and `MultiSelect` prompts | +| UnmarkedOptionIcon | [ ] | Marks an unselected option in a `MultiSelect` prompt | +| MarkedOptionIcon | [x] | Marks a chosen selection in a `MultiSelect` prompt | ## Versioning diff --git a/core/template.go b/core/template.go index d30369b8..7a3a1903 100644 --- a/core/template.go +++ b/core/template.go @@ -19,7 +19,7 @@ var ( ErrorIcon = "X" // HelpIcon will be shown before more detailed question help - HelpIcon = "????" + HelpIcon = "?" // QuestionIcon will be shown before a question Message QuestionIcon = "?"