diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-08-19 14:53:51 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-08-19 14:53:51 -0400 |
| commit | 74f7c875e0740c57b2a88099d1f17b659c6ce6be (patch) | |
| tree | 6521dcbe199f94ccb692a58eccec354e05cecbaa | |
| parent | 8430279ef4767593e9e4e472420c3354b7b225b6 (diff) | |
Dim the secret ellipsis
| -rw-r--r-- | enums.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |
