locale: add ellipsis as special glyph

This commit is contained in:
Lennart Poettering 2018-04-11 19:49:50 +02:00
parent 12777909c9
commit b77f5e2773
2 changed files with 4 additions and 1 deletions

View file

@ -365,10 +365,11 @@ const char *special_glyph(SpecialGlyph code) {
[BLACK_CIRCLE] = "*",
[ARROW] = "->",
[MDASH] = "-",
[ELLIPSIS] = "..."
},
/* UTF-8 */
[ true ] = {
[true] = {
[TREE_VERTICAL] = "\342\224\202 ", /* │ */
[TREE_BRANCH] = "\342\224\234\342\224\200", /* ├─ */
[TREE_RIGHT] = "\342\224\224\342\224\200", /* └─ */
@ -377,6 +378,7 @@ const char *special_glyph(SpecialGlyph code) {
[BLACK_CIRCLE] = "\342\227\217", /* ● */
[ARROW] = "\342\206\222", /* → */
[MDASH] = "\342\200\223", /* */
[ELLIPSIS] = "\342\200\246", /* … */
},
};

View file

@ -53,6 +53,7 @@ typedef enum {
BLACK_CIRCLE,
ARROW,
MDASH,
ELLIPSIS,
_SPECIAL_GLYPH_MAX
} SpecialGlyph;