summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManos Pitsidianakis <el13635@mail.ntua.gr>2019-11-16 01:20:25 +0200
committerManos Pitsidianakis <el13635@mail.ntua.gr>2019-11-16 01:21:12 +0200
commit21987e5fba19c1e054f5e522e3308976a90a5348 (patch)
tree93bb9068795bfdb101a5eebd0d4dc4028f9761d9
parent4037e86d661bd509e3d648220f839c9d407911be (diff)
Make thread tree branches visually lighter
-rw-r--r--src/ui/components/processes.rs18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/ui/components/processes.rs b/src/ui/components/processes.rs
index 2be0d51..c548113 100644
--- a/src/ui/components/processes.rs
+++ b/src/ui/components/processes.rs
@@ -469,7 +469,7 @@ impl ProcessList {
for i in 0..*ind {
if branches.len() > i && branches[i] {
s.push(' ');
- s.push('│');
+ s.push('┃');
} else {
s.push(' ');
}
@@ -481,27 +481,27 @@ impl ProcessList {
if p.is_thread {
if has_sibling && is_first {
s.push(' ');
- s.push('╞');
+ s.push('┠');
} else if has_sibling {
s.push(' ');
- s.push('╞');
+ s.push('┠');
} else {
s.push(' ');
- s.push('╘');
+ s.push('┖');
}
- s.push('═');
+ s.push('┄');
} else {
if has_sibling && is_first {
s.push(' ');
- s.push('├');
+ s.push('┣');
} else if has_sibling {
s.push(' ');
- s.push('├');
+ s.push('┣');
} else {
s.push(' ');
- s.push('└');
+ s.push('┗');
}
- s.push('─');
+ s.push('━');
}
s.push('>');
}