summaryrefslogtreecommitdiffstats
path: root/src/basic/glyph-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-09-28 11:34:46 +0200
committerLennart Poettering <lennart@poettering.net>2022-09-30 14:14:48 +0200
commit24fe5e9807a1da8542a182fa65716e82e9a49da7 (patch)
tree6a299692ef5f75cef6343c3f1ffa61253c76733b /src/basic/glyph-util.c
parentresolve: do not cache mDNS goodbye packet (diff)
downloadsystemd-24fe5e9807a1da8542a182fa65716e82e9a49da7.tar.xz
systemd-24fe5e9807a1da8542a182fa65716e82e9a49da7.zip
glyph-util: add left arrow special glyph entry
Diffstat (limited to 'src/basic/glyph-util.c')
-rw-r--r--src/basic/glyph-util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/glyph-util.c b/src/basic/glyph-util.c
index 1bba139bfc..67f2270daf 100644
--- a/src/basic/glyph-util.c
+++ b/src/basic/glyph-util.c
@@ -53,6 +53,7 @@ const char *special_glyph(SpecialGlyph code) {
[SPECIAL_GLYPH_LIGHT_SHADE] = "-",
[SPECIAL_GLYPH_DARK_SHADE] = "X",
[SPECIAL_GLYPH_SIGMA] = "S",
+ [SPECIAL_GLYPH_ARROW_LEFT] = "<-",
[SPECIAL_GLYPH_ARROW_RIGHT] = "->",
[SPECIAL_GLYPH_ARROW_UP] = "^",
[SPECIAL_GLYPH_ARROW_DOWN] = "v",
@@ -99,6 +100,7 @@ const char *special_glyph(SpecialGlyph code) {
[SPECIAL_GLYPH_ARROW_DOWN] = u8"↓", /* actually called: DOWNWARDS ARROW */
/* Single glyph in Unicode, two in ASCII */
+ [SPECIAL_GLYPH_ARROW_LEFT] = u8"←", /* actually called: LEFTWARDS ARROW */
[SPECIAL_GLYPH_ARROW_RIGHT] = u8"→", /* actually called: RIGHTWARDS ARROW */
/* Single glyph in Unicode, three in ASCII */