wttr.in/lib/view
mataha 9d23087ca4 Introduce 'dumb' mode for terminals without fallback glyphs
Windows' native terminal, `conhost.exe`, lacks font fallback support.
This causes some of the characters used in `wttr.in`'s terminal output
to not be displayed at all - placeholders are supplied in their place.
This PR provides a mode that, when enabled, translates missing glyphs
to ones available on every platform without (*I believe*) making any
compromises regarding their meaning; see translation table below.

| Character        | C-UCP  | Replacements                          | R-UCPs |
| :--------------- | :----: | :------------------------------------ | :----: |
| NORTH WEST ARROW | U+2196 | BOX DRAWINGS LIGHT ARC DOWN AND LEFT  | U+256E |
| NORTH EAST ARROW | U+2197 | BOX DRAWINGS LIGHT ARC DOWN AND RIGHT | U+256D |
| SOUTH EAST ARROW | U+2198 | BOX DRAWINGS LIGHT ARC UP AND RIGHT   | U+2570 |
| SOUTH WEST ARROW | U+2199 | BOX DRAWINGS LIGHT ARC UP AND LEFT    | U+256F |
| HIGH VOLTAGE SIGN | U+26A1 | BOX DRAWINGS LIGHT DOWN AND RIGHT + UP AND LEFT | U+250C + U+2518 |
2023-08-09 19:02:39 +02:00
..
__init__.py moved views to view/ 2020-04-04 14:21:14 +02:00
line.py Switch geolocation client to the internal service 2023-07-14 21:08:02 +02:00
moon.py Introduce 'dumb' mode for terminals without fallback glyphs 2023-08-09 19:02:39 +02:00
prometheus.py prometheus: removed help lines duplicates (#446) 2020-06-12 19:21:53 +02:00
v2.py Introduce 'dumb' mode for terminals without fallback glyphs 2023-08-09 19:02:39 +02:00
wttr.py Introduce 'dumb' mode for terminals without fallback glyphs 2023-08-09 19:02:39 +02:00