Closed terwey closed 4 years ago
Hi,
I would like to use ReadlineWithDefault(what string) from the Readline library. https://github.com/abiosoft/readline/blob/master/readline.go#L258-L261
ReadlineWithDefault(what string)
Currently only Readline() is exposed but I want to give the user a default value.
Readline()
What is the best approach? Extend ishell and send a PR?
Thanks.
Never mind, I see it's in the master branch: https://github.com/abiosoft/ishell/compare/v2...master
Hi,
I would like to use
ReadlineWithDefault(what string)
from the Readline library. https://github.com/abiosoft/readline/blob/master/readline.go#L258-L261Currently only
Readline()
is exposed but I want to give the user a default value.What is the best approach? Extend ishell and send a PR?
Thanks.