I forgot to mention: the reason I increased the number of palette_end is because with many colors, such as with some of the vttest scripts, the color_pairs begin to overwrite each other. With 256 I was certainly getting some funky color shifts because of this! I just doubled it to 512, but I think 384 is likely sufficient if you want to save memory.
-Ross On 03/25/2011 10:30 PM, Ross Mohn wrote: > > 2. support the 8 basic highlighted colors, plus a couple of color_hash fixes > > > On 03/25/2011 10:25 PM, Ross Mohn wrote: >> I'm going to post a series of 6 patches for dvtm over the next several >> minutes. They all apply to the current HEAD of the dvtm git repository >> (committed 2011-01-07). I think I've teased them all apart pretty well >> so that each one is separate and complete. >> >> 1. support for compiling under AIX >> 2. support the 8 basic highlighted colors, plus a couple of color_hash fixes >> 3. fix a scrolling issue and add in "ESC #" to call interpret_esc_SCS() >> 4. support for "ESC 6 n", get cursor position, which calls a new >> function, send_curs() >> 5. support colorrules[] to match strings against window titles, >> applycolorrules(), and call madtty_set_dflt_colors() >> 6. support to backfill text from the buffer when a windows is resized >> with more rows >> >> Comments, testing, and bugfixes sincerely welcome! >> >> Cheers! -Ross >> >>