forked from rosa/hakurei
Compare commits
12 Commits
2e1f2bd93c
...
613c95d263
| Author | SHA1 | Date | |
|---|---|---|---|
|
613c95d263
|
|||
|
d527de788c
|
|||
|
a95e779a50
|
|||
|
81a5821d5c
|
|||
|
8b38cba968
|
|||
|
9f90c2ef2a
|
|||
|
1c0fb0c897
|
|||
|
4a0250e211
|
|||
|
cbfcce2447
|
|||
|
5f0e90d196
|
|||
|
6db1730cf4
|
|||
|
3d39d19b36
|
@@ -249,12 +249,11 @@ export class StreamReporter implements Reporter {
|
||||
case "success":
|
||||
this.#successes.push({ path, ...result });
|
||||
// NOTE: emojis are used instead of colored Unicode symbols as
|
||||
// coloring isn't possible through all streams and detecting if
|
||||
// colors should be used is very difficult¹. Furthermore, ensuring
|
||||
// reasonable contrast is retained on every possible theme is
|
||||
// difficult, with reverse video often being the only way (which
|
||||
// also has questionable support across terminal emulators), and the
|
||||
// Unicode characters might be too small to be immediately
|
||||
// coloring isn't possible through all streams and there detecting
|
||||
// if colors should be used is very difficult¹. Furthermore,
|
||||
// ensuring reasonable contrast is retained on every possible theme
|
||||
// is difficult, with reverse video often being the only way, and
|
||||
// the Unicode characters might be too small to be immediately
|
||||
// noticeable. Emojis have an upper hand in that they're more common
|
||||
// than obscure Unicode characters—which also means you're more
|
||||
// likely to have an emoji font but not a font with those
|
||||
@@ -265,7 +264,7 @@ export class StreamReporter implements Reporter {
|
||||
// https://no-color.org, https://bixense.com/clicolors, and
|
||||
// https://force-color.org, checking if setting the
|
||||
// ENABLE_VIRTUAL_TERMINAL_PROCESSING bit on the TTY works when on
|
||||
// on Windows, and doing something similar for Cygwin.
|
||||
// on Windows, and doing something similar for Cygwin
|
||||
if (this.verbose) this.stream.writeln(`✅️ ${pathStr}`);
|
||||
break;
|
||||
case "failure":
|
||||
|
||||
Reference in New Issue
Block a user