We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 413df02 + bfdf899 commit e086625Copy full SHA for e086625
glances/outputs/glances_curses.py
@@ -446,12 +446,15 @@ def separator_line(self, color='SEPARATOR'):
446
self.line -= 1
447
line_width = self.term_window.getmaxyx()[1] - self.column
448
if self.line >= 0:
449
- self.term_window.addnstr(
450
- self.line,
451
- self.column,
452
- unicode_message('MEDIUM_LINE', self.args) * line_width,
+ position = [self.line, self.column]
+ line_color = self.colors_list[color]
+ line_type = curses.ACS_HLINE if not self.args.disable_unicode else unicode_message('MEDIUM_LINE', self.args)
+
453
+ self.term_window.hline(
454
+ *position,
455
+ line_type,
456
line_width,
- self.colors_list[color],
457
+ line_color,
458
)
459
460
def __get_stat_display(self, stats, layer):
0 commit comments