deprecate cuchar, don't redefine it (#18505)

This commit is contained in:
Andreas Rumpf 2021-07-16 15:50:02 +02:00 • committed by GitHub
commit 96a7f9b31c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 55 additions and 54 deletions

View file

@ -761,7 +761,7 @@ template styledWriteLine*(f: File, args: varargs[untyped]) =
runnableExamples:
proc error(msg: string) =
styledWriteLine(stderr, fgRed, "Error: ", resetStyle, msg)
styledWrite(f, args)
write(f, "\n")