Re:Git repository summary on your terminal
by lsllc on Sunday October 27, 2019 @04:23PM
(#21372138)
Nice! In the 2nd screenshot, how is it showing the image? Is that a terminal that can render images, or some clever conversion to ascii art [there's some ascii art related code in the onefetch repo].
[ Parent
| on HN ]
Re:Git repository summary on your terminal
by dyanaraps on Sunday October 27, 2019 @04:50PM
(#21372295)
It uses `kitty` terminal's built in support for images. [0][1]
[0] https://sw.kovidgoyal.net/kitty/graphics-protocol.html [1] https://github.com/o2sh/onefetch/blob/master/src/image_backe...
Note: iTerm2 also has its own image display protocol and for something more generic there is Sixel or w3mimgdisplay (from w3m).
I think it's iTerm-specific.