mirror of
https://github.com/mintycube/st.git
synced 2024-10-22 14:05:49 +02:00
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;
|
||||||
#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[] = {
|
const struct { int idx; char *str; } osc_table[] = {
|
||||||
{ defaultfg, "foreground" },
|
{ defaultfg, "foreground" },
|
||||||
{ defaultbg, "background" },
|
{ defaultbg, "background" },
|
||||||
{ defaultcs, "cursor" }
|
{ defaultcs, "cursor" }
|
||||||
};
|
};
|
||||||
|
#if SIXEL_PATCH
|
||||||
|
ImageList *im, *newimages, *next, *tail;
|
||||||
|
int i, x, y, x1, y1, x2, y2, numimages;
|
||||||
|
int cx, cy;
|
||||||
|
Line line;
|
||||||
#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
Block a user