Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose ReadlineWithDefault #136

Closed
terwey opened this issue Apr 28, 2020 · 1 comment
Closed

Expose ReadlineWithDefault #136

terwey opened this issue Apr 28, 2020 · 1 comment

Comments

@terwey
Copy link

terwey commented Apr 28, 2020

Hi,

I would like to use ReadlineWithDefault(what string) from the Readline library.
https://github.com/abiosoft/readline/blob/master/readline.go#L258-L261

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

@terwey
Copy link
Author

terwey commented Apr 28, 2020

Never mind, I see it's in the master branch: v2...master

@terwey terwey closed this as completed Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant