go-lisp icon indicating copy to clipboard operation
go-lisp copied to clipboard

Interpreter should exit on ctrl-d

Open briansorahan opened this issue 7 years ago • 3 comments

I just played with this tool for the first time and the fact that ctrl-d did not exit the interactive interpreter was surprising to me

briansorahan avatar May 05 '17 14:05 briansorahan

Great idea! If you create a working pull request, I'd be happy to merge it!

janne avatar May 05 '17 14:05 janne

@janne Have you considered using something like https://github.com/chzyer/readline ? If you like I can open a PR that uses that ^ I've used it before and been pretty happy

briansorahan avatar May 05 '17 16:05 briansorahan

Neat! Nope, I haven't tried it, but please do!

Sent from my iPhone

On 5 May 2017, at 18:23, Brian Sorahan [email protected] wrote:

@janne Have you considered using something like https://github.com/chzyer/readline ? If you like I can open a PR that uses that ^ I've used it before and been pretty happy

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

janne avatar May 05 '17 17:05 janne