all repos — minline @ 269610215f055a590c1f8359e3ada69b3315ab08

A minimalist but highly-customizable line editing library.

Updated README with more info.
h3rald h3rald@h3rald.com
Sun, 12 Aug 2018 21:22:27 +0200
commit

269610215f055a590c1f8359e3ada69b3315ab08

parent

ff204f65486e898d1423dca8686da6835e40b086

1 files changed, 22 insertions(+), 1 deletions(-)

jump to
M README.mdREADME.md

@@ -1,2 +1,23 @@

# nimline -A line editing library in pure Nim. + +A line editing library in pure Nim designed to be easy to use and provide a minimal (but useful) set of features to build interactive CLI applications. + +*nimline* provides: + +* Basic line editing functionality, move the cursor left and right, delete characters etc. +* Support for a simple prompt at the beginning of the line. +* Support for hiding typed characters (and print asterisks instead). +* Support for intercepting keypresses before they are printed to stdout. +* Some Emacs-like keybindings. +* Customizable line completion. +* Customizable key bindings (i.e. bind a key or a sequence of keys to a Nim proc). +* Persistent history management (history entries can be written to a file). + +*nimline* does *not* provide: + +* Support for multiple lines (you will not be able to move to the next line) +* Support for Unicode or characters other than ASCII. +* Support for colors in the prompt. +* Full Emacs or Vi key bindings. + +For more information, see [the reference docs](https://h3rald.com/nimline/nimline.html).