Pass base-256 colour index to curses_putch

And to its inner function write_char
This commit is contained in:
Doktor L
2026-06-19 16:36:27 +02:00
committed by Patric Mueller
parent f3d292e111
commit 7036f902d2
4 changed files with 12 additions and 10 deletions
+2 -1
View File
@@ -7,7 +7,8 @@
# define CURSWIN_H
struct glyph_attributes {
int color;
int basic_color; // basic color
int color256; // extended color (0 if not defined), used when supported
int framecolor;
int attribute_flags;
};