Skip to content

Commit d012e6d

Browse files
committed
KittyImgOpts struct comments
1 parent 06cddd3 commit d012e6d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

kitty.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ type KittyImgOpts struct {
2323
SrcY uint32 // y=
2424
SrcWidth uint32 // w=
2525
SrcHeight uint32 // h=
26-
CellOffsetX uint32 // X=
27-
CellOffsetY uint32 // Y=
28-
DstCols uint32 // c=
29-
DstRows uint32 // r=
26+
CellOffsetX uint32 // X= (pixel x-offset inside terminal cell)
27+
CellOffsetY uint32 // Y= (pixel y-offset inside terminal cell)
28+
DstCols uint32 // c= (display width in terminal columns)
29+
DstRows uint32 // r= (display height in terminal rows)
3030
ZIndex int32 // z=
3131
ImageId uint32 // i=
3232
ImageNo uint32 // I=

0 commit comments

Comments
 (0)