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.
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.