From 0bf5a7e90279e87d0418bbce46e3a9b7cc4e699f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Wed, 22 May 2024 14:56:10 +0200 Subject: [PATCH] sixel: comment: document the P1 parameter (and no, it's no longer unimplemented) --- sixel.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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)