sixel: comment: document the P1 parameter

(and no, it's no longer unimplemented)
This commit is contained in:
Daniel Eklöf 2024-05-22 14:56:10 +02:00
parent 91561d7ba7
commit 0bf5a7e902
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -54,7 +54,13 @@ sixel_put
sixel_init(struct terminal *term, int p1, int p2, int p3) 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 * P2: background color mode
* - 0|2: empty pixels use current background color * - 0|2: empty pixels use current background color
* - 1: empty pixels remain at their current color (i.e. transparent) * - 1: empty pixels remain at their current color (i.e. transparent)