5 ms·
You could get better resolution in some terminals by using sixels: https://en.wikipedia.org/wiki/Sixel https://en.wikipedia.org/wiki/Sixel I think there's some
by TazeTSchnitzel 2y ago
You could get better resolution in some terminals by using sixels: https://en.wikipedia.org/wiki/Sixel https://en.wikipedia.org/wiki/Sixel
I think there's some other methods in particular terminals for displaying images, but I don't remember them.
- warbled_tongue 2y agoYeah, but this is in rust.
- ramon156 2y agoHuh?
- martijnarts 2y agoYou could also probably detect the terminal you're in and use some of their advanced features, like the image protocol in iTerm2[0] or the terminal graphics protocol[1]. 1 also lists alternative programs that do this! [0]: https://iterm2.com/documentation-images.html https://iterm2.com/documentation-images.html [1]: https://sw.kovidgoyal.net/kitty/graphics-protocol/ https://sw.kovidgoyal.net/kitty/graphics-protocol/
- hnlmorg 2y agoThis is how murex works too https://github.com/lmorg/murex/blob/master/config/defaults/profile_any.mx#L683 https://github.com/lmorg/murex/blob/master/config/defaults/p...
- dale_glass 2y agoAnd kitty has icat, which just has image support: https://sw.kovidgoyal.net/kitty/kittens/icat/ https://sw.kovidgoyal.net/kitty/kittens/icat/ I'm really confused about how is it that we're in 2024, Linux is open source from top to bottom, and we're still messing around with rendering images in ASCII. I really wish there was some interest in doing a modern, graphical console. UTF8, antialiasing, graphics, the works.
- eptcyka 2y agoX is literally that.
- mxuribe 2y agoWould you kindly clarify? Did you mean Xterm?
- Tmpod 2y agoI believe they meant X.org, the graphical stack used by most graphical Linux systems.
- baq 2y ago> modern um. I guess the rest applies, but...
- IshKebab 2y agoIt's not though. You have to fiddle around with ports and servers and environment variables. But a drawing API is clearly not the way modern graphics works best. What would be really cool is a terminal that supported low latency streaming video. Then you can do proper GUI apps using any rendering system they want and it will properly integrate with ssh.
- ranger_danger 2y agoXsixel
- IshKebab 2y ago> You have to fiddle around with ports and servers and environment variables.
- hnlmorg 2y agoI’m working on exactly that :)