ansi
ansi copied to clipboard
Set of ANSI Code based classes and modules for Ruby
This allows ansi to color output in windows with ruby 2+ without attempting to load win32console The win32console gem is no longer required for ruby 2 or higher in Windows....
code 26 is reserved for proportional spacing as specified in CCITT Recommendation T.61 See ECMA-48 and friends
Hi guys, Just wanted to give you a hat tip for a well written Notice file with all of the contained licenses. Only change required is Highline's homepage moved to...
First the issue, even with win32console I can't get colors on windows: ``` irb(main):001:0> require 'ansi/code' ansi: 'gem install win32console' to use color on Windows ``` The reason is that...
On Ruby 2.2.0, I get the following warning: `/usr/local/var/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ansi-1.4.3/lib/ansi/chart.rb:26: warning: duplicated key at line 29 ignored: :concealed` This warning won't show if there are no blank lines inside a Hash,...
I am on Windows XP. When I type: ``` ruby require "ansi" ANSI::Terminal.terminal_width ``` I have the message: `No such file or directory - stty size` In https://github.com/rubyworks/ansi/blob/master/lib/ansi/terminal.rb, the code...
There needs to be a way to globally deactivate ANSI coloring.
Allow String#ansi to take Integer and convert to ANSI command.
Take a look at the Term::ANSIColor and Colored gems: - https://github.com/flori/term-ansicolor - https://github.com/defunkt/colored Maybe we can make ANSI's API compatible so that it can act as a drop-in replacement.