From 3ffa1f1af7c322c5d129da0636072584c948742b Mon Sep 17 00:00:00 2001 From: Shugo Maeda Date: Thu, 13 Feb 2025 17:09:38 +0900 Subject: [PATCH] Add the 256 color pairs limitation to README Fixes #78. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 29160e42..35801352 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,10 @@ _with `/usr/local/opt/ncurses` the path where homebrew installed ncurses on your See [https://www.rubydoc.info/gems/curses](https://www.rubydoc.info/gems/curses). +## Limitations + +* curses.gem doesn't support more than 256 color pairs. See https://reversed.top/2019-02-05/more-than-256-curses-color-pairs/ for details. + ## Developers After checking out the repo, run `bundle install` to install dependencies. @@ -55,6 +59,7 @@ After checking out the repo, run `bundle install` to install dependencies. To compile the extension library, run `bundle exec rake compile`. To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `curses.gemspec`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org). + ## License curses is released under the Ruby and 2-clause BSD licenses. See COPYING for