all repos — minline @ 4e12ccf2cc506cd2fb8286822e9338f661d1b96e

A minimalist but highly-customizable line editing library.

Fixed history.
h3rald h3rald@h3rald.com
Sat, 25 Feb 2017 16:54:33 +0100
commit

4e12ccf2cc506cd2fb8286822e9338f661d1b96e

parent

62fc6d601fad4fc7bf974c72e8adb2543d2cff79

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

jump to
M nimline.nimnimline.nim

@@ -129,7 +129,7 @@ discard h.queue.popFirst

if h.tainted: h.queue[h.queue.len-1] = s else: - h.queue.addFirst s + h.queue.addLast s proc previous(h: var LineHistory): string = if h.queue.len == 0 or h.position <= 0: