diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2020-11-18 20:00:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-18 20:00:31 -0500 |
commit | c0a8c347e12ae7924ed78ee9c35f2acd7152193e (patch) | |
tree | 9831f0e7c892f7ac8c11e2af8baa6e7c2e943565 /src/canvas.rs | |
parent | 669b245367d194b7f4f7a12fe29573fcd9ca4e4e (diff) |
bug: remove buggy auto-generated CPU colour implementation (#308)
Removes the random automatically generated colours for the CPU metrics. This was not supported in all terminal emulators, and would cause some of them to break (namely macOS Terminal).
Instead we'll default to colours we can be more certain will work and loop through them as required. Users can still override these colours with their own.
Diffstat (limited to 'src/canvas.rs')
-rw-r--r-- | src/canvas.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/canvas.rs b/src/canvas.rs index 7af29f33..9bd4f96d 100644 --- a/src/canvas.rs +++ b/src/canvas.rs @@ -197,7 +197,6 @@ impl Painter { } else { painter.generate_colour_scheme(colour_scheme)?; } - painter.colours.generate_remaining_cpu_colours(); painter.complete_painter_init(); Ok(painter) |