r3bl-org/r3bl-open-core

[tui] update ColorWheel to replace Gradient with something else

Closed this issue · 0 comments

In this file

https://github.com/r3bl-org/r3bl_rs_utils/blob/main/tui/src/tui/color_wheel/color_wheel_struct.rs#L320

we use Gradient.

The latest release of this crate removes this:

Replace it with B-spline interpolation

While in here, do an audit of

  • How does r3bl_ansi_color crate get used in r3bl_tui "properly"? Is there too much overlap between the two?
  • How is the detect terminal color and color support used between these two crates? Are there ways to streamline this? Eg: get rid of some strange NotSet variant in color support?
  • Clean up color conversion (consolidate this to use r3bl_ansi_color only)