From 41f2dda3ae57d3af5a7e8e5d6c03cdc6d01d7dcd Mon Sep 17 00:00:00 2001 From: Waveplate Date: Tue, 11 Jun 2024 02:38:22 -0700 Subject: [PATCH] fix incorrect state reset after carriage return command --- src/lib/sixel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/sixel.h b/src/lib/sixel.h index 4df1e7f52..af634bac7 100644 --- a/src/lib/sixel.h +++ b/src/lib/sixel.h @@ -153,7 +153,7 @@ uint32_t* ncsixel_as_rgba(const char *sx, unsigned leny, unsigned lenx){ --sx; }else if(*sx == '$'){ x = 0; - state = STATE_WANT_HASH; + state = STATE_WANT_DATA; }else if(*sx == '-'){ x = 0; y += 6;