If I want to have a prompt on the terminal with a default value already typed in, how can I do that?
Ruby's standard Readline.readline()
lets me set the history but not fill in a default value (as far as I can tell, at least)
I would like something like this:
code:
input = Readline.readline_with_default('>', 'default_text')
console:
> default_text|