diff options
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 |