diff options
author | Adam Strzelecki <ono@java.pl> | 2015-06-11 21:03:55 +0200 |
---|---|---|
committer | Adam Strzelecki <ono@java.pl> | 2015-06-15 11:26:53 +0200 |
commit | 1057770ce51c3ede38f743001bcb6e6d4a25d1c2 (patch) | |
tree | d3827034086a1256646dd2fef77216cc517cb3ec /lib/stdlib.nimble | |
parent | 806dfe976d3771c242b9c6d8702a75773e6c9dab (diff) | |
download | Nim-1057770ce51c3ede38f743001bcb6e6d4a25d1c2.tar.gz |
colors: Introduce resetStyle enum & use templates
1. Introduce TerminalCmd enum and resetStyle that can be issued to issue resetAttributes within styledEcho arguments. 2. Use templates to resolve styledEcho arguments for performance reasons. 3. Try to avoid calling trailing write "\n" and reset attributes where possible.
Diffstat (limited to 'lib/stdlib.nimble')
0 files changed, 0 insertions, 0 deletions