all repos — minline @ c63382b8af73aed0005079c23bfe7a6e00234b34

A minimalist but highly-customizable line editing library.

Added more info on limitations in reference docs.
h3rald h3rald@h3rald.com
Sun, 12 Aug 2018 22:39:05 +0200
commit

c63382b8af73aed0005079c23bfe7a6e00234b34

parent

d8582e85787df61b0164bcb373a4e5f531cd0994

1 files changed, 7 insertions(+), 0 deletions(-)

jump to
M nimline.nimnimline.nim

@@ -20,6 +20,13 @@ ##

## .. code-block:: nim ## ed.completionCallback = proc(ed: LineEditor): seq[string] = ## return @["copy", "list", "delete", "move", "remove"] +## +## **Note** When compared to the readline or linenoise libraries, this module has the following limitations: +## +## * It is only possible to edit one line of text at a time. When using the **readLine** method, it will not be possible to physically go to the next line (this simplifies things a bit...). +## * No UTF8 support, only ASCII characters are supported. +## * No support for colorized output. +## * Only limited support for Emacs keybindings, no support for Vi mode and Vi keybindings. import critbits,