aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/terminal.h b/terminal.h
index 756b0554..69b94624 100644
--- a/terminal.h
+++ b/terminal.h
@@ -175,6 +175,14 @@ struct ptmx_buffer {
size_t idx;
};
+struct sixel {
+ void *data;
+ pixman_image_t *pix;
+ int width;
+ int height;
+ struct coord pos;
+};
+
struct terminal {
struct fdm *fdm;
const struct config *conf;
@@ -357,10 +365,10 @@ struct terminal {
unsigned int param;
unsigned param_idx;
-
- pixman_image_t *pix;
} sixel;
+ tll(struct sixel) sixel_images;
+
bool hold_at_exit;
bool is_shutting_down;
void (*shutdown_cb)(void *data, int exit_code);