peterh / liner

Pure Go line editor with history, inspired by linenoise
MIT License
1.04k stars 132 forks source link

Clarify return values of Prompt #40

Closed jnjackins closed 9 years ago

jnjackins commented 9 years ago

I found myself guessing about these return values. Specifying them in the function doc may save some people digging through the source.

peterh commented 9 years ago

I pulled the commit described here. Thanks!

The pull request also appears to include your proof-of-concept for #41 (not pulled).

jnjackins commented 9 years ago

Oops, sorry. I'm new to the github workflow.

peterh commented 9 years ago

No problem. I knew what you meant.

Thanks again for taking the time to make a patch.