4 ms·
Sounds like choosing the wrong environment for the application. A console terminal is for displaying console text. It needs 8, maybe 16 distinct colors. Some mi
by throwawayboise 4y ago
Sounds like choosing the wrong environment for the application. A console terminal is for displaying console text. It needs 8, maybe 16 distinct colors. Some might argue it doesn't need colors at all.
- ravi-delia 4y agoEh, a true color terminal is significantly prettier with pretty minimal cost. It feels more readable too, but I won't pretend that's the main reason. Why stare at something ugly when you really don't have to?
- djbusby 4y agoToo right. I wanna see my ugly code on a beautiful display.
- Ansil849 4y ago> Some might argue it doesn't need colors at all. Some might argue it doesn't need letters either.
- AnIdiotOnTheNet 4y agoOne wonders why we still find it so important, in 2022, to emulate 1970s hardware in the first place. However, if we're going to insist on tradition hildinng back computing interfaces then we may as well add simple things like 32 bit color.
- notafraudster 4y agoSo, I want to share a use case. I use a Mac and iTerm. iTerm comes with a nonstandard terminal extension called `imgcat` that allows you to output images, including over SSH. My understanding is basically that it works by passing some special control characters to iTerm itself, who then render an image accordingly. Clearly this is well outside the bounds of what a normal terminal does. I have a project that involves maintaining an image database of about 15,000 images. The images come from one of three canonical sources, or they can be gathered manually and added. Over time, more data points get added (typically every few years a new batch of a few hundred are added), and manually added images are replaced with canonical images, and canonical images upgrade in quality. I wrote a command line tool that basically allows me to monitor missing images, available upgrades, sources for each image I have, etc. So, I run my tool, and it says, say, "there is a canonical version of image 12714 available, do you want to replace the current version?". Typically it's going to download both versions, and I'm going to proceed by imgcatting both versions and making a judgment call. This is happening on a remote server than isn't running a windowing system. I make a decision there and it's solved quickly. Absent imgcat, the workflow is that I maintain a full copy of the database on my local machine, rsync the image directories, use a window manager to open a file explorer and preview both versions of the image, make a judgment call, and then return to the same terminal environment where I tell the same command line application which version to keep. Repeat several hundred times. This doesn't seem like a better workflow to me. So I guess my question is how do I benefit from my terminal emulator not being able to display images, based on the design I've just told you?