Skip to content

glim.sh: Escape key (and other non-'n' input) accepted as yes at prompts #156

Description

@codemedic

Both y/n prompts in glim.sh only check for the literal character n to mean no. Any other input — including Escape (\x1b), arrow keys, or garbage — falls through to yes and proceeds with installation.

The condition should accept only y, Y, or Enter as confirmation, and treat everything else as no.

Activity

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