aboutsummaryrefslogtreecommitdiff
path: root/sixel.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-11-23 19:10:55 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-11-23 19:10:55 +0000
commitba8b15d67592c3dfde264ccd441699377948c4cf (patch)
tree6da06ab3fcc042b6b58cb07791d27439b3e4eb83 /sixel.h
parentrender: don’t call term_arm_blink_timer() from multiple threads (diff)
sixel: change default max size to 10000x10000
It used to be the size of the window. This caused images to be cropped when the application emitting them didn’t change the max size.
Diffstat (limited to 'sixel.h')
-rw-r--r--sixel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sixel.h b/sixel.h
index 6cd7324e..f72cf260 100644
--- a/sixel.h
+++ b/sixel.h
@@ -3,6 +3,8 @@
#include "terminal.h"
#define SIXEL_MAX_COLORS 1024u
+#define SIXEL_MAX_WIDTH 10000u
+#define SIXEL_MAX_HEIGHT 10000u
void sixel_fini(struct terminal *term);