diff options
author | Araq <rumpf_a@web.de> | 2011-10-08 02:14:42 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-10-08 02:14:42 +0200 |
commit | c138cc36b4b4ad34f982492939db5ae16f409a88 (patch) | |
tree | ca21910d3e774e69eb4f232676c4f1d036386060 /lib/pure | |
parent | e956abbaddfb8609bebeff6ffb9d402709020c48 (diff) | |
download | Nim-c138cc36b4b4ad34f982492939db5ae16f409a88.tar.gz |
new syntactic construct: a{i}
Diffstat (limited to 'lib/pure')
-rwxr-xr-x | lib/pure/terminal.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/terminal.nim b/lib/pure/terminal.nim index ab9c31c8f..0fd631eed 100755 --- a/lib/pure/terminal.nim +++ b/lib/pure/terminal.nim @@ -312,7 +312,7 @@ proc setBackgroundColor*(bg: TBackgroundColor, bright=false) = # These should be private, but there is no yet # facility for binding local symbols within macros proc styledEchoProcessArg*(s: string) = write stdout, s -proc styledEchoProcessArg*(style: TStyle) = setStyle {style} +proc styledEchoProcessArg*(style: TStyle) = setStyle({style}) proc styledEchoProcessArg*(style: set[TStyle]) = setStyle style proc styledEchoProcessArg*(color: TForegroundColor) = setForeGroundColor color proc styledEchoProcessArg*(color: TBackgroundColor) = setBackGroundColor color |