It looks like use -1 as a color number is supported to display no color. I'd like to be able to modify the code to allow that as a color pair value but it looks like it is only expecting unsigned integers. I don't have enough experience in Crystal to know how to fix this issue or I would have included it in #5.
An example of where this matters is when setting NCurses.use_default_colors. Since I'm forced to use a defined background color, it overwrites my default terminal background color. Is there a good way to fix this?
Without NCurses.use_default_colors

With NCurses.use_default_colors

It looks like use
-1as a color number is supported to display no color. I'd like to be able to modify the code to allow that as a color pair value but it looks like it is only expecting unsigned integers. I don't have enough experience in Crystal to know how to fix this issue or I would have included it in #5.An example of where this matters is when setting
NCurses.use_default_colors. Since I'm forced to use a defined background color, it overwrites my default terminal background color. Is there a good way to fix this?Without
NCurses.use_default_colorsWith
NCurses.use_default_colors