summaryrefslogtreecommitdiffstats
path: root/src/basic/locale-util.c
diff options
context:
space:
mode:
authorJiehong <email@majiehong.com>2021-01-20 15:52:35 +0100
committerLennart Poettering <lennart@poettering.net>2021-01-22 20:45:43 +0100
commit9ae5fed64ec1647d1c8a8e21528c1d2f08b3ebac (patch)
treefd338be311196f7769f911b85880e0cfe8a5af13 /src/basic/locale-util.c
parentMerge pull request #18302 from bluca/mount_image_runtime (diff)
downloadsystemd-9ae5fed64ec1647d1c8a8e21528c1d2f08b3ebac.tar.xz
systemd-9ae5fed64ec1647d1c8a8e21528c1d2f08b3ebac.zip
feature: display status with a different shape depending on the status (#17728)
Diffstat (limited to 'src/basic/locale-util.c')
-rw-r--r--src/basic/locale-util.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/basic/locale-util.c b/src/basic/locale-util.c
index 4c81cb9440..f58e0348ba 100644
--- a/src/basic/locale-util.c
+++ b/src/basic/locale-util.c
@@ -356,6 +356,9 @@ const char *special_glyph(SpecialGlyph code) {
[SPECIAL_GLYPH_TREE_SPACE] = " ",
[SPECIAL_GLYPH_TRIANGULAR_BULLET] = ">",
[SPECIAL_GLYPH_BLACK_CIRCLE] = "*",
+ [SPECIAL_GLYPH_WHITE_CIRCLE] = "*",
+ [SPECIAL_GLYPH_MULTIPLICATION_SIGN] = "x",
+ [SPECIAL_GLYPH_CIRCLE_ARROW] = "*",
[SPECIAL_GLYPH_BULLET] = "*",
[SPECIAL_GLYPH_MU] = "u",
[SPECIAL_GLYPH_CHECK_MARK] = "+",
@@ -388,6 +391,9 @@ const char *special_glyph(SpecialGlyph code) {
/* Single glyphs in both cases */
[SPECIAL_GLYPH_TRIANGULAR_BULLET] = "\342\200\243", /* ‣ */
[SPECIAL_GLYPH_BLACK_CIRCLE] = "\342\227\217", /* ● */
+ [SPECIAL_GLYPH_WHITE_CIRCLE] = "\u25CB", /* ○ */
+ [SPECIAL_GLYPH_MULTIPLICATION_SIGN] = "\u00D7", /* × */
+ [SPECIAL_GLYPH_CIRCLE_ARROW] = "\u21BB", /* ↻ */
[SPECIAL_GLYPH_BULLET] = "\342\200\242", /* • */
[SPECIAL_GLYPH_MU] = "\316\274", /* μ (actually called: GREEK SMALL LETTER MU) */
[SPECIAL_GLYPH_CHECK_MARK] = "\342\234\223", /* ✓ */