minline icon indicating copy to clipboard operation
minline copied to clipboard

Officially replace linenoise in Nim's stdlib

Open AndreiRegiani opened this issue 7 years ago • 2 comments

This should be the endgame of nimline.

Once this module is stable it definitely can get into the stdlib replacing linenoise in rstdlib module, see some of the issues:

https://github.com/AndreiRegiani/INim/issues/7 https://github.com/nim-lang/Nim/issues/5795

Even without these issues it's not nice to have non-pure libs in the stdlib.

AndreiRegiani avatar Aug 05 '18 21:08 AndreiRegiani

Wow! Thanks! And I didn't even officially publicize this properly yet!

For now I am currently only using it internally for the shell component of my min programming language (https://min-lang.org).

Note that there are still some issues with nimline, e.g. no proper emacs/vim key bindings and currently I am only managing only ONE line. If you hit the end of the terminal it just won't let you type anything else.

That been said, I guess some docs are in order anyway...

h3rald avatar Aug 06 '18 18:08 h3rald

@AndreiRegiani Alright, here are some reference docs. Do you think that's enough?

h3rald avatar Aug 12 '18 20:08 h3rald