Commit bbaacae
committed
fix(logger,prompts): replace yoctocolors-cjs rgb() with manual ANSI codes
The yoctocolors-cjs package doesn't have an rgb() method. Replace calls
to colors.rgb() with manually constructed ANSI escape sequences for
RGB colors (ESC[38;2;r;g;bm...ESC[39m).
Affects:
- src/logger.ts applyColor() function
- src/stdio/prompts.ts applyColor() function1 parent 35d747b commit bbaacae
2 files changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
136 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
137 | 139 | | |
138 | 140 | | |
139 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
0 commit comments