st-flexipatch

My st-flexipatch configuration
git clone git://git.ethandl.dev/st-flexipatch
Log | Files | Refs | README | LICENSE

commit f78822a367aedaa39a3a8f7fe3f3c51c797bfe90
parent c02ad974098e5aa7408f5fafc758a14b49f0aa49
Author: Stein Gunnar Bakkeby <bakkeby@gmail.com>
Date:   Mon, 13 Sep 2021 11:09:20 +0200

Merge pull request #41 from dosisod/fix-sixel-alpha

Fix white background bleeding through sixel images:
Diffstat:
Msixel.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sixel.c b/sixel.c @@ -252,7 +252,7 @@ sixel_parser_finalize(sixel_state_t *st, unsigned char *pixels) *dst++ = color >> 16 & 0xff; /* b */ *dst++ = color >> 8 & 0xff; /* g */ *dst++ = color >> 0 & 0xff; /* r */ - dst++; /* a */ + *dst++ = 255; /* a */ } /* fill right padding with bgcolor */ for (; x < st->image.width; ++x) {