mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-27 08:16:14 +02:00
fixup "Colorize"
Do not quote escape sequence macro
This commit is contained in:
parent
eaabcba1c3
commit
34ec98176e
1 changed files with 2 additions and 2 deletions
|
@ -551,7 +551,7 @@ std::ostream & NixRepl::printValue(std::ostream & str, Value & v, unsigned int m
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case tBool:
|
case tBool:
|
||||||
str << ESC_CYA << (v.boolean ? "true" : "false") << ESC_END;
|
str << ESC_CYA << (v.boolean ? "true" : "false") << ESC_END;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case tString:
|
case tString:
|
||||||
|
@ -666,7 +666,7 @@ std::ostream & NixRepl::printValue(std::ostream & str, Value & v, unsigned int m
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
str << "ESC_RED «unknown»" ESC_END;
|
str << ESC_RED "«unknown»" ESC_END;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue