st-flexipatch

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

commit cd37481bdeb169bb4b9ed9ac32bc16c68bc37fd6
parent 9ddc13c0e0419ed4776457d526dec32183db5350
Author: Bakkeby <bakkeby@gmail.com>
Date:   Fri,  8 Mar 2024 19:52:00 +0100

sixel: moving osc_table out of sixel patch due to global dependency ref. #118

Diffstat:
Mst.c | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/st.c b/st.c @@ -2397,16 +2397,16 @@ strhandle(void) { char *p = NULL, *dec; int j, narg, par; + const struct { int idx; char *str; } osc_table[] = { + { defaultfg, "foreground" }, + { defaultbg, "background" }, + { defaultcs, "cursor" } + }; #if SIXEL_PATCH ImageList *im, *newimages, *next, *tail; int i, x, y, x1, y1, x2, y2, numimages; int cx, cy; Line line; - const struct { int idx; char *str; } osc_table[] = { - { defaultfg, "foreground" }, - { defaultbg, "background" }, - { defaultcs, "cursor" } - }; #if SCROLLBACK_PATCH int scr = IS_SET(MODE_ALTSCREEN) ? 0 : term.scr; #else