]> _ Git - clay.git/commit
Remove termbox color buffer
authormivirl <octoberstargazer7405@mivirl.dev>
Mon, 26 May 2025 23:38:26 +0000 (23:38 +0000)
committermivirl <octoberstargazer7405@mivirl.dev>
Mon, 26 May 2025 23:38:26 +0000 (23:38 +0000)
commit2bf235447dfccfc8403a1e578cc375c78c4a3f90
treee9bdbfa9ad7eeaffae22ce93673e51f0b7af87b0
parent744a155fedb8d696448e3f3a67694faa9dc4c5da
Remove termbox color buffer

Removed the internal termbox background color buffer (which was only
used for the text background color when transparency was disabled) to
instead only use the clay color buffer.

Previously used two internal color buffers so that there wouldn't be
a need to convert from the clay to termbox representations for every
cell of text, but the performance difference will be negligible for
most TUI applications (which usually update on user input, or only a
few frames per second at most), so just using one buffer is cleaner
renderers/termbox2/clay_renderer_termbox2.c