summary refs log tree commit diff stats
path: root/compiler/bitsets.nim
diff options
context:
space:
mode:
authorAdam Strzelecki <adam.strzelecki@pl.abb.com>2015-10-13 13:43:57 +0200
committerAdam Strzelecki <adam.strzelecki@pl.abb.com>2015-10-16 20:55:17 +0200
commit2bc6acc808f18de3910b7db12014c394dd400b39 (patch)
treea172f25b0d55b965cf52f8958309a6e9c967564d /compiler/bitsets.nim
parent9ef50717fa0ef5e57b71aae89846eb3d14cb2b16 (diff)
downloadNim-2bc6acc808f18de3910b7db12014c394dd400b39.tar.gz
terminal: Support both styled stdout and stderr
This is important if we want to write styled diagnostics to stderr, eg. some
tool outputting results to stdout, but writing styled error messages to stderr.

Previously this module was assuming we are writing only to stdout. Now all
module procs take file handle as first argument. Wrappers assuming stdout are
provided for backwards compatibility.

The new terminal.styledWriteLine(f, args) is provided and documented as
counterpart for unstyled plain writeLine(f, args).
Diffstat (limited to 'compiler/bitsets.nim')
0 files changed, 0 insertions, 0 deletions