summaryrefslogtreecommitdiffstats
path: root/CRT.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-12-28 20:41:33 +0100
committerBenBE <BenBE@geshi.org>2021-01-07 14:46:44 +0100
commit27db9297b77c7dd1cb48f334fded7f3c21d5730c (patch)
tree683a021f1ee9f91de2f1801cf10abd94cba7c101 /CRT.c
parent330d4fe22fe13612426a25c30cf29c2166bf4845 (diff)
Show arrow indicating order of sorted process column
Diffstat (limited to 'CRT.c')
-rw-r--r--CRT.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/CRT.c b/CRT.c
index a487bc7a..7ae7c122 100644
--- a/CRT.c
+++ b/CRT.c
@@ -48,6 +48,8 @@ static const char* const CRT_treeStrAscii[LAST_TREE_STR] = {
[TREE_STR_TEND] = ",",
[TREE_STR_OPEN] = "+",
[TREE_STR_SHUT] = "-",
+ [TREE_STR_ASC] = "+",
+ [TREE_STR_DESC] = "-",
};
#ifdef HAVE_LIBNCURSESW
@@ -61,6 +63,8 @@ static const char* const CRT_treeStrUtf8[LAST_TREE_STR] = {
// WITH VERTICAL STROKE' (U+1FBAF, "\xf0\x9f\xae\xaf") when
// Unicode 13 is common
[TREE_STR_SHUT] = "\xe2\x94\x80", // ─
+ [TREE_STR_ASC] = "\xe2\x96\xb3", // △
+ [TREE_STR_DESC] = "\xe2\x96\xbd", // ▽
};
bool CRT_utf8 = false;

© 2014-2024 Faster IT GmbH | imprint | privacy policy