mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-29 20:21:35 +03:00
Fix #849 - part 2
This commit is contained in:
parent
7fd7239a91
commit
b410a0c4ed
@ -161,6 +161,7 @@ class Plugin(GlancesPlugin):
|
||||
child_data = new_child_data
|
||||
pos = new_pos
|
||||
|
||||
if pos:
|
||||
# draw node prefix
|
||||
if is_last_child:
|
||||
prefix = "└─"
|
||||
@ -186,6 +187,7 @@ class Plugin(GlancesPlugin):
|
||||
child_data[i]["msg"] = " │" + old_str[2:]
|
||||
else:
|
||||
child_data[i]["msg"] = old_str[:2] + "│" + old_str[3:]
|
||||
|
||||
return child_data
|
||||
|
||||
def get_process_curses_data(self, p, first, args):
|
||||
|
Loading…
Reference in New Issue
Block a user