Dim the secret ellipsis

This commit is contained in:
Bruce Hill 2024-08-19 14:53:51 -04:00
parent 8430279ef4
commit 74f7c875e0

View File

@ -38,7 +38,7 @@ static CORD compile_str_method(env_t *env, ast_t *ast)
def->name, ".", tag->name, "\\x1b[m(\" : \"", def->name, ".", tag->name, "(\"");
if (tag->secret) {
str_func = CORD_cat(str_func, ", \"***)\");\n");
str_func = CORD_cat(str_func, ", use_color ? \"\\x1b[2m...\\x1b[m\" : \"...\", \")\");\n");
continue;
}