rdoc
rdoc copied to clipboard
Broken ANSI color sequences on Windows
Not sure if this bug fits here. I'm using RubyInstaller Ruby 2.0.0-p451 (x64) with DevKit 4.7.2 (x64) on Windows7.
After installing the rdoc-data gem and installing the ri data for core + stdlib, i.e.
gem install rdoc-data
rdoc-data --install
...I noticed that the ansi formatter is now turned on by default. Not sure how that happened, but thankfully to @ssmythe I found this workaround which suggests set RI=--format bs
to restore the old behaviour.
In fact the ansi coloring would be nice, but it doesn't work properly with my setup, i.e. looks like this:
Any ideas what could be the cause or how to fix this?
/cc @luislavena @ssmythe
Seems to be an rdoc/rdoc-data issue instead. I just verified that ri String
colored output works properly until the rdoc-data gem is installed.
Once rdoc-data is installed and ri data is installed the colors are broken as shown above.
Uninstalling the gem did NOT fix the colored output again.
I can't believe this bug is just sitting here more than two years later.
I can't believe you didn't send a pull request to fix it.
Did you?
- I'm not paid to
- I don't use Windows so the effort is far too high for the return on investment
- Your entitlement to my free labor is not encouraging me to even try