Skip to content

CTRL+D stops input in single line mode #204

@coezbek

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.

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