3 ms·
Ahhh. That's an interesting idea. I like it
by laumars 8y ago
Ahhh. That's an interesting idea. I like it
- enriquto 8y agoThis is an inevitable feature of the perfect terminal. The alternative is showing the binary contents of the image file in ASCII, which is always undesired.
- laumars 8y agoNot just undesired; it can sometimes play havoc with your terminal session. I've had tmux status bars break; bash prompts go "weird" and all sorts of other glitches before when I've accidentally piped binary data to the STDOUT. I'm very tempted to fork Aminal and have a play with your idea.
- enriquto 8y agoThat would be lovely! I do a lot of image processing using unix pipes, and when I forget the "|display" at the end it breaks everything. Notice that you do not even need to use sixels in your case. Since you control the rendering, you can simply put the pixels of the image on a rectangle (that allows paning and zooming, for example), and move the cursor below it.
- laumars 8y agoIt wouldn't be until I'm off for Christmas holidays (at the earliest) though. I don't have a whole lot of time left between work and family; and have a few projects on the go as it is already.