Skip to content

The confirm should always accept y/n, or be configurable with multiple values that represent y #2279

Closed

Description

@gjfLeo

In Chinese, "是/否" means "yes/no", and it should be used as yesLabel and noLabel. However, when users enter options in the terminal, typing the Chinese characters "是" or "否" requires multiple keystrokes, while typing y/n requires only a single keystroke each, so most users are still accustomed to entering y/n.

The current situation is that if the label is set to "是/否", users cannot enter n to cancel; if the label is kept as "yes/no", then the answer displayed after the question cannot be shown in Chinese.

Activity

  1. SBoudrias commented on Oct 3, 2026

    @SBoudrias
    Owner

    Thanks for the report! A fix was just merged and will be part of the next release.

  2. added a commit that references this issue on Oct 20, 2026
    3c1fdb3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions