Hacker News new | past | comments | ask | show | jobs | submit login

This does not seem to be supported in iTerm, if anyone else is wondering.



In fairness, it's barely supported in Terminal.app --- in that I had to make a bunch of solid-colored images to make it work! It should be a first-class feature of all terminal applications. I had no idea how much I want this feature day-to-day until I got fed up with a 27" monitor display crammed with overlapping identical-looking tcpdump windows a few weeks ago.


You can likely achieve something similar using iTerm's Python API.

For example, this script[0] picks a random color preset each time a new session is created, and this one[1] picks a preset based on the hostname.

[0] https://www.iterm2.com/python-api/examples/random_color.html

[1] https://www.iterm2.com/python-api/examples/colorhost.html




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: