add braces to work with Nasal TNG
This commit is contained in:
parent
106f6bfe77
commit
e354f26a4d
1 changed files with 2 additions and 2 deletions
|
@ -50,9 +50,9 @@ var _c = func nil;
|
|||
|
||||
var color = func(enabled) {
|
||||
if (enabled)
|
||||
_c = func(color, s) "\x1b[" ~ color ~ "m" ~ s ~ "\x1b[m";
|
||||
_c = func(color, s) { "\x1b[" ~ color ~ "m" ~ s ~ "\x1b[m" }
|
||||
else
|
||||
_c = func(dummy, s) s;
|
||||
_c = func(dummy, s) { s }
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue