1
0
Fork 0

add braces to work with Nasal TNG

This commit is contained in:
mfranz 2008-09-24 19:38:56 +00:00
parent 106f6bfe77
commit e354f26a4d

View file

@ -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 }
}