summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-10-08 02:14:42 +0200
committerAraq <rumpf_a@web.de>2011-10-08 02:14:42 +0200
commitc138cc36b4b4ad34f982492939db5ae16f409a88 (patch)
treeca21910d3e774e69eb4f232676c4f1d036386060 /lib/pure
parente956abbaddfb8609bebeff6ffb9d402709020c48 (diff)
downloadNim-c138cc36b4b4ad34f982492939db5ae16f409a88.tar.gz
new syntactic construct: a{i}
Diffstat (limited to 'lib/pure')
-rwxr-xr-xlib/pure/terminal.nim2
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