tty-box icon indicating copy to clipboard operation
tty-box copied to clipboard

Color support?

Open rubyFeedback opened this issue 2 years ago • 0 comments

I am playing around with TTY::Box right now.

I tried to add colour output:

box = TTY::Box.frame(width: 70, height: 15, border: :thick,  color: :steelblue)

:steelblue should refer to the HTML colour steelblue, and the RGB values that this represents. TTY::Box does not seem to accept a :color keyword.

Could this be added? KDE konsole has no problem with RGB colors. In one of my color-related projects I make heavy use of colours, so colored borders and colored text content of the box would be useful IMO.

rubyFeedback avatar Aug 17 '22 15:08 rubyFeedback