Fix issue with columns and reflow that breaks sixels (#146)

Fixes #145
This commit is contained in:
veltza 2024-08-09 10:12:51 +03:00 committed by GitHub
parent 7a581fe4e1
commit 714fcffaa8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
st.c
View File

@ -2748,7 +2748,7 @@ strhandle(void)
} else {
term.images = newimages;
}
#if COLUMNS_PATCH && !REFLOW
#if COLUMNS_PATCH && !REFLOW_PATCH
x2 = MIN(x2, term.maxcol) - 1;
#else
x2 = MIN(x2, term.col) - 1;