-
| enforce-tty-input-output.py is able to do something I want: How can I do this while enabling history? 
 Is there a simple way to get both? Although  FYI, here's why it comes up. I have written a command-line Unix filter. Some of the command-line options take long and possibly multiline strings as arguments, and I want to prompt for them if they're missing: My current stable version does this successfully using  I wanted to allow better editing and history.  I can combine successfully with  | 
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
| Never mind, I was able to answer my own question! | 
Beta Was this translation helpful? Give feedback.
Never mind, I was able to answer my own question!
The
promptfunction as called in enforce-tty-input-output.py accepts thehistoryargument.