mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Show arrow indicating order of sorted process column
This commit is contained in:

committed by
BenBE

parent
330d4fe22f
commit
27db9297b7
4
CRT.c
4
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;
|
||||
|
Reference in New Issue
Block a user