3 ms·
Off topic, but it seems that we’ve really stagnated, on the terminal front, especially considering how many clients have full GPU acceleration these days. How
by nomel 3y ago
Off topic, but it seems that we’ve really stagnated, on the terminal front, especially considering how many clients have full GPU acceleration these days.
How has there not been some basic image/data steaming built in, after all of these decades? Why am I writing scripts that parse human text output?
- jmholla 3y agoThere's sixel[0], but not every terminal supports it. [0]: https://en.m.wikipedia.org/wiki/Sixel https://en.m.wikipedia.org/wiki/Sixel
- aflag 3y agoBecause you can | grep text output and that's great.
- MereInterest 3y agoIf you want to have a program that outputs binary data to stdout, then accept binary data on stdin, there’s no reason not to. It isn’t the standard for historical reasons, and because text is easier to bootstrap from manually-inspected results into a script. For example, the easiest way I’ve found to render generated images into a gif or mp4 is to pipe a sequence of ppm-encoded images into ffmpeg.