From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Wed, 20 May 2009 11:52:04 -0700 Subject: [sup-talk] Strange random changing of default colors In-Reply-To: References: Message-ID: <1242845310-sup-6904@entry> Reformatted excerpts from Mark Alexander's message of 2009-05-20: > For while now I've been running off of the next branch, and I've been > noticing strange and hard-to-reproduce problems with sup changing the > default colors. I've fixed this in master and next. The problem was that Curses limits you to a set number of color pairs, and I had thought that limit was 16 (the Ruby bindings don't seem to expose it), and so if you used Sup for long enough you would eventually run out of colors and it would helpfully replace old color definitions with new ones for you. :) But rumors suggest that the limit is more like 64, except in archaic cases, so I've hard-coded that instead of 16, and experimentally it seems fine to me (even running through screen). Let me know if you experience more color weirdness, especially on archaic systems like Mac OS and Windows. -- William