Skip to content

CTRL+D stops input in single line mode #204

Description

@coezbek

I am curious to understand why pressing CTRL+D on a Prompt::ask would stop data entry, because in readline it would cause a delete of the next character.

The documentation seems to indicate that CTRL+D is only used in multiline mode, but the code does not distinguish and has no option to prevent TTY::Prompt to consume CTRL+D (and also CTRL+Z). I think by default CTRL+Z should be passed to the shell.

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