about summary refs log tree commit diff stats
path: root/src/local/container.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-10-04 16:44:29 +0200
committerbptato <nincsnevem662@gmail.com>2024-10-04 16:58:42 +0200
commit62586dc23790732e66add5b27d4d37f1a56b41e0 (patch)
treeed33d758156658b93f81de6b71449a70ef69d32b /src/local/container.nim
parentfaa97429d651c76d86ad0c2ab530d9f666fb6927 (diff)
downloadchawan-62586dc23790732e66add5b27d4d37f1a56b41e0.tar.gz
sixel, term: reduce half-dump special casing
Makes it slightly easier to debug image output.

Also, we stop sending dimension headers, and no longer check for the
scheme env var to make CLI invocation a bit less annoying.
Diffstat (limited to 'src/local/container.nim')
-rw-r--r--src/local/container.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/local/container.nim b/src/local/container.nim
index bbd90f1e..88becc71 100644
--- a/src/local/container.nim
+++ b/src/local/container.nim
@@ -124,6 +124,8 @@ type
     erry*: int # same as CanvasImage.offy % 6
     # whether the image has transparency, *disregarding the last row*
     transparent*: bool
+    # length of introducer, raster, palette data before pixel data
+    preludeLen*: int
 
   Container* = ref object of RootObj
     # note: this is not the same as source.request.url (but should be synced