mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
If we're in ASCII mode, no blitter except for NCBLIT_1x1 is going to work. Whenever NCBLIT_DEFAULT is provided, select NCBLIT_1x1 if we're in ASCII mode. Add NCVISUAL_OPTIONS_MAYDEGRADE and NCPLOT_OPTIONS_MAYDEGRADE. Both serve to allow smooth degradation when a blitter other than NCBLIT_DEFAULT has been provided. Closes #637. Make calc_gradient_cell() static inline so our templated ncppplot implementation can use it (ugh). When using NCBLIT_1x1 for plots in ASCII mode, use space rather than full block, and invert colors. Use NCBLIT_DEFAULT in the demo for the FPS plot.