Fixed single color graphs crash

pull/81/head
aristocratos 4 years ago
parent 6693ff3095
commit 2c49f4baa2

@ -1119,7 +1119,7 @@ class Theme:
else: else:
c = Color.fg(*rgb["start"]) c = Color.fg(*rgb["start"])
for _ in range(100): for _ in range(101):
self.gradient[name] += [c] self.gradient[name] += [c]
#* Set terminal colors #* Set terminal colors
Term.fg, Term.bg = self.main_fg, self.main_bg Term.fg, Term.bg = self.main_fg, self.main_bg

Loading…
Cancel
Save