News for hackers. Stuff that matters.
Re:A Guide to the Terminal, Console, and Shell by still_grokking on Wednesday December 28, 2022 @10:55AM (#34162219)
For images and videos you want SIXEL support. Quite some terminal emulators support this nowadays.

https://saitoha.github.io/libsixel/

But that's just another "layer of craziness", imho. (Even it's quite cool).

I think the whole terminal should be replaced. Not even with something funky. Just a proper RPC + streaming protocol based on some sane modern tech. (No, no HTTP! Simple and lightweight. Tailor made for the task. So it works also in an embedded setting; and lasts for the next 50 years :-)). Of course it should also have separate control and data channels. (That's a mayor flaw of the "classical" terminal tech. The in-band transport of control is a big PITA, and can be even an security risk).

Re:A Guide to the Terminal, Console, and Shell by csdvrx on Wednesday December 28, 2022 @01:50PM (#34164293)
> For images and videos you want SIXEL support. Quite some terminal emulators support this nowadays.

And if they don't, https://github.com/csdvrx/sixel-tmux will give you the best rendering it can do