Prompt for input with readline-like key bindings
git clone https://git.8pit.net/input.git
https://git.8pit.net/input.git
1-c "printf 'foo\nfoobar\n'"