all repos — minline @ bdc4eea7ab6e889e92a08d3b0aef6d896a600cea

A minimalist but highly-customizable line editing library.

Minor changes.
h3rald h3rald@h3rald.com
Fri, 02 Jun 2017 19:02:35 +0200
commit

bdc4eea7ab6e889e92a08d3b0aef6d896a600cea

parent

5bca3b936576fa6c9e0525aced20559c4b3ba481

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

jump to
M nimline.nimnimline.nim

@@ -35,7 +35,7 @@ discard execCmd "stty </dev/tty " & TERMSETTINGS

proc getchar*(): cint = var chars = newSeq[char](0) - return stdin.readChars(chars, 0, 1).ord.cint + return stdin.readChars(chars, 0, 1)[0].ord.cint proc putchar*(c: cint) = stdout.write(c.chr)