all repos — minline @ ba73786172c39fbb30a7c62ad1308ff4d627e67d

A minimalist but highly-customizable line editing library.

Merge pull request #15 from inivekin/fix-min-ansi-code-output

Fabio Cevasco h3rald@h3rald.com
Fri, 16 Jun 2023 06:53:40 +0200
commit

ba73786172c39fbb30a7c62ad1308ff4d627e67d

parent

73012b2d9fc7809a4f48a9733c929d0a969a9c8b

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

jump to
M nimline.nimnimline.nim

@@ -37,7 +37,8 @@ strutils,

std/exitprocs, os -addExitProc(resetAttributes) +if isatty(stdin): + addExitProc(resetAttributes) when defined(windows): proc putchr*(c: cint): cint {.discardable, header: "<conio.h>", importc: "_putch".}