alexkuz / alexkuz/nyan-progress-webpack-plugin

Windows doesn't support characters used

Offen
#3 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
170
Forks
17
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Was curious to see what it would look like on Windows and it looks like the default fonts on Windows doesn't support many of the characters:

![image](https://cloud.githubusercontent.com/assets/4730591/26701774/33a858e2-46d7-11e7-9a22-4130277cd220.png)

It also looks like there are several new lines being written at the beginning and it causes duplication. Probably related to #1.

Could do something similar to this: https://github.com/mochajs/mocha/blob/d8157d0a2eca0b1c23564baca33352bf4442decb/lib/reporters/base.js#L81-86 and just replace some of the characters (like `@` for `◕`) on Windows.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.