sixel: moving osc_table out of sixel patch due to global dependency ref. #118
This commit is contained in:
parent
9ddc13c0e0
commit
cd37481bde
10
st.c
10
st.c
|
@ -2397,16 +2397,16 @@ strhandle(void)
|
||||||
{
|
{
|
||||||
char *p = NULL, *dec;
|
char *p = NULL, *dec;
|
||||||
int j, narg, par;
|
int j, narg, par;
|
||||||
|
const struct { int idx; char *str; } osc_table[] = {
|
||||||
|
{ defaultfg, "foreground" },
|
||||||
|
{ defaultbg, "background" },
|
||||||
|
{ defaultcs, "cursor" }
|
||||||
|
};
|
||||||
#if SIXEL_PATCH
|
#if SIXEL_PATCH
|
||||||
ImageList *im, *newimages, *next, *tail;
|
ImageList *im, *newimages, *next, *tail;
|
||||||
int i, x, y, x1, y1, x2, y2, numimages;
|
int i, x, y, x1, y1, x2, y2, numimages;
|
||||||
int cx, cy;
|
int cx, cy;
|
||||||
Line line;
|
Line line;
|
||||||
const struct { int idx; char *str; } osc_table[] = {
|
|
||||||
{ defaultfg, "foreground" },
|
|
||||||
{ defaultbg, "background" },
|
|
||||||
{ defaultcs, "cursor" }
|
|
||||||
};
|
|
||||||
#if SCROLLBACK_PATCH
|
#if SCROLLBACK_PATCH
|
||||||
int scr = IS_SET(MODE_ALTSCREEN) ? 0 : term.scr;
|
int scr = IS_SET(MODE_ALTSCREEN) ? 0 : term.scr;
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue