peterh / liner

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

default text after prompt? #44

Closed danke-click closed 9 years ago

danke-click commented 9 years ago

Thank you for this amazing pice a code! I'd like to offer a default text after the prompt that can be corrected/edited by the user. Is that possible? Or is there a workaround? thx

myPrompt> default text for correction

peterh commented 9 years ago

This is a duplicate of #38. I'm still willing to review a pull request for this feature.