go-sixel icon indicating copy to clipboard operation
go-sixel copied to clipboard

gosr can't show image in Mac terminal

Open siddontang opened this issue 3 years ago • 4 comments

Hi, I tried to use gosr in Mac Terminal, the image couldn't show, like:

image

But using iTerm worked fine:

image

siddontang avatar Dec 25 '21 15:12 siddontang

I'm not good at Mac terminal but as far as I know, Mac terminal does not support DRCS Sixel.

mattn avatar Dec 25 '21 16:12 mattn

What I want is to view the xkcd comics in the terminal, so I write https://github.com/siddontang/xkcdsay

I tried different tools to show the image in the terminal like https://github.com/posva/catimg, https://github.com/ichinaski/pxl, etc, All of them can't show the xkcd picture correctly except go-sixel, but seems not all the terminals support Sixel. Bad news :sob:

siddontang avatar Dec 26 '21 15:12 siddontang

BTW, What do you get with https://github.com/mattn/longcat ?

mattn avatar Dec 26 '21 15:12 mattn

well, still can't work with longcat. As you can see, the pic doesn't show well below

image

siddontang avatar Dec 27 '21 01:12 siddontang