inim-repl / INim

Interactive Nim Shell / REPL / Playground

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

a "help" command would be useful

jabbalaci opened this issue · comments

A "help" command in the REPL would be useful. When I tried INim, I could only guess how to quit. Ctrl+D didn't work (I just sent a PR about it), "help" wasn't available.

Update: I can do it in the form of a PR.

I'd prefer implementing Ctrl-D to exit(), like the Python/Coconut REPLs, tmux and bash do...exit() is a bit verbose. (the nim secret REPL similarly exits with Ctrl-Z).

I did it and sent a PR in October, 2018: #47 . No reaction since then...

Well, thanks for coding that jabbalaci, I will definitely use it once implemented. Seems Andrei has been absent from here, maybe ask on gitter?

@AndreiRegiani has kindly let me maintain this repo - this issue is my personal number 1 feature.

As @jabbalaci says, we're trying to get ctrl+d to work, but due to the underlying library nim uses for input, it's quite difficult. Come and check out #56 for deets

fixed all the things!