all repos — minline @ 5bca3b936576fa6c9e0525aced20559c4b3ba481

A minimalist but highly-customizable line editing library.

Merge branch 'master' of https://github.com/h3rald/nimline
h3rald h3rald@h3rald.com
Fri, 02 Jun 2017 18:52:47 +0200
commit

5bca3b936576fa6c9e0525aced20559c4b3ba481

parent

6df2312ece1bf8b217995d2eb89bfc4a21c5d74a

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

jump to
M nimline.nimnimline.nim

@@ -217,7 +217,8 @@ stdout.cursorBackward(ed.line.position+1)

for i in ed.line.text: putchar(32) putchar(32) - stdout.cursorBackward(ed.line.text.len) + putchar(32) + stdout.cursorBackward(ed.line.text.len+1) ed.line.position = 0 ed.line.text = ""