From 4bc0e95d19c662acef7604434c8342b2d45c8ada Mon Sep 17 00:00:00 2001 From: Matthew Mondor Date: Wed, 13 Apr 2022 15:00:48 +0000 Subject: [PATCH] More unicode remapping --- MATT/TODO.txt | 2 +- hacks/analogterm.c | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/MATT/TODO.txt b/MATT/TODO.txt index ae85221..af0f022 100644 --- a/MATT/TODO.txt +++ b/MATT/TODO.txt @@ -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 diff --git a/hacks/analogterm.c b/hacks/analogterm.c index 9f39ae6..d5be2c6 100644 --- a/hacks/analogterm.c +++ b/hacks/analogterm.c @@ -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; -- 2.9.0