From cd37481bdeb169bb4b9ed9ac32bc16c68bc37fd6 Mon Sep 17 00:00:00 2001 From: Bakkeby Date: Fri, 8 Mar 2024 19:52:00 +0100 Subject: [PATCH] sixel: moving osc_table out of sixel patch due to global dependency ref. #118 --- st.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/st.c b/st.c index 30f8fc8..652ee9a 100644 --- 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