term-ansicolor icon indicating copy to clipboard operation
term-ansicolor copied to clipboard

Ruby library that colors strings using ANSI escape sequences

Results 15 term-ansicolor issues
Sort by recently updated
recently updated
newest added

The `--enable-frozen-string-literal` flag has been part of Ruby for over a decade and may become the default in the semi-near future: https://bugs.ruby-lang.org/issues/20205

These files are only needed at development time, and do not have any value at runtime. Thus, it is better not include them in the gem. * .allimages.yml * .gitignore...

1. Fix homepage link 2. Document `term_snow` in README

Hey there! I was wondering if you'd be interested in [namespacing your constants](https://stackoverflow.com/questions/11335807/resolving-a-name-collision-in-3rd-party-gem-code/11336295#11336295 ). Term is a very generic... term and others may want to use it. Maybe using `TermANSIColor`...

❄️ besides the disappointing not-covering snow at the bottom of the screen, probably there is an error in https://github.com/flori/term-ansicolor/blob/678eaee3e72bf51a02385fa27890e88175670dc0/bin/term_snow#L54 (I guess it should read `+=` not `==`). I cannot simulate...

Hi! I just scratched this after having troubles at generating a colorful bash-prompt. http://tldp.org/HOWTO/Bash-Prompt-HOWTO/nonprintingchars.html What do you think? This code probably can be improved, so feel free to comment :)

The documentation at http://flori.github.io/term-ansicolor/doc/index.html linked from http://flori.github.io/term-ansicolor/ was last updated in 2012, and seems to represent version 1.0.7. Compared with the current state of the gem, the documentation present is...

``` FrozenError: can't modify frozen String # /Users/samuel/.rvm/gems/ruby-2.5.1/gems/term-ansicolor-1.7.0/lib/term/ansicolor.rb:90:in `color' # (eval):2:in `green' # /Users/samuel/.rvm/gems/ruby-2.5.1/gems/coveralls-0.8.22/lib/coveralls/output.rb:67:in `block in format' # /Users/samuel/.rvm/gems/ruby-2.5.1/gems/coveralls-0.8.22/lib/coveralls/output.rb:65:in `reverse_each' # /Users/samuel/.rvm/gems/ruby-2.5.1/gems/coveralls-0.8.22/lib/coveralls/output.rb:65:in `format' # /Users/samuel/.rvm/gems/ruby-2.5.1/gems/coveralls-0.8.22/lib/coveralls/output.rb:90:in `puts' # /Users/samuel/.rvm/gems/ruby-2.5.1/gems/coveralls-0.8.22/lib/coveralls.rb:51:in `setup!' #...

The underscore method conflicts with String.underscore from Rails. Closes #29