Closed pjvleeuwen closed 4 years ago
Thanks for reporting! ❤️ Do you have time to submit PR to fix this?
Not sure yet...
I have not before worked on such ruby project. I just write scripts which I run with the ruby command from a docker container. Could you please write out some steps I need to take to get up and running? E.g. apt install this and that, then run this and that to build / run tests.
This was fixed in #119 (9f72d62).
Describe the problem
The default help_color given to the Prompt constructor is used for
select
, but not formulti_select
. On a first glance the intention was formulti_select
to use this color, asSteps to reproduce the problem
Actual behaviour
select
uses help_color configured, whilemulti_select
always shows dark gray.Expected behaviour
The expected behaviour is for both classes to use
help_color
. I expect this, becauseMultiList#render_header
seems todecorate
based on inherited@help_color
.Describe your environment
Ubuntu 18.04.3 LTS
ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-linux]
(in docker,FROM ruby:2.6.5
)LOCAL GEMS
tty-color (0.5.0) tty-cursor (0.7.0) tty-prompt (0.20.0) tty-reader (0.7.0) tty-screen (0.7.0)```