aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-05-22 12:56:10 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-05-22 12:56:10 +0000
commit0bf5a7e90279e87d0418bbce46e3a9b7cc4e699f (patch)
tree3b0487012e28754bdfc26fa4940d9509dda290fb
parentissue-template: link "debug build", not just "build" (diff)
sixel: comment: document the P1 parameter
(and no, it's no longer unimplemented)
-rw-r--r--sixel.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sixel.c b/sixel.c
index d6bfa3a4..279aef05 100644
--- a/sixel.c
+++ b/sixel.c
@@ -54,7 +54,13 @@ sixel_put
sixel_init(struct terminal *term, int p1, int p2, int p3)
{
/*
- * P1: pixel aspect ratio - unimplemented
+ * P1: pixel aspect ratio
+ * - 0,1 - 2:1
+ * - 2 - 5:1
+ * - 3,4 - 3:1
+ * - 5,6 - 2:1
+ * - 7,8,9 - 1:1
+ *
* P2: background color mode
* - 0|2: empty pixels use current background color
* - 1: empty pixels remain at their current color (i.e. transparent)