More unicode remapping
authorMatthew Mondor <mmondor@pulsar-zone.net>
Wed, 13 Apr 2022 15:00:48 +0000 (15:00 +0000)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Wed, 13 Apr 2022 15:00:48 +0000 (15:00 +0000)
MATT/TODO.txt
hacks/analogterm.c

index ae85221..af0f022 100644 (file)
@@ -18,7 +18,7 @@ TODO
   Done
 - Wordgrinder uses ▲ ▼ and ▷ from
   https://en.wikipedia.org/wiki/Geometric_Shapes_%28Unicode_block%29
-  Rightwards one remapped to another graphics symbol for now.
+  Remapped to other graphics symbols for now.
 - Lynx uses ↑ and ↓ from
   https://en.wikipedia.org/wiki/Arrow_%28symbol%29#Unicode
   and ▮ from Geometric Shapes
index 9f39ae6..d5be2c6 100644 (file)
@@ -466,6 +466,12 @@ at_glyph(analogterm_sim_t *sim, uint32_t c, bool decgfx)
        case 0x2010:    /* Hyphen */
                c = '-';
                break;
+       case 0x25B2:    /* Black up-pointing triangle */
+               c = 0x1FB6F;
+               break;
+       case 0x25BC:    /* Black down-pointing triangle */
+               c = 0x1FB6D;
+               break;
        case 0x25B7:    /* White right-pointing triangle */
                c = 0x1FB6C;
                break;