warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
20.77k stars 348 forks source link

Automatically use color to distinguish terminals #4243

Open bronson opened 6 months ago

bronson commented 6 months ago

Discord username (optional)

scaon. display name is abron.

Describe the solution you'd like?

I'd love it if my terminal's palette automatically switched whenever I log into a new container or remote host.

Here's a mockup:

https://github.com/warpdotdev/Warp/assets/1776/e65a9586-3ae4-4c4c-ace2-a7530ce561a0

Is your feature request related to a problem? Please describe.

I'm often surrounded by identical-looking terminal windows. Even though they look the same, they all connect to different containers and remote hosts. It gets confusing and can lead to accidents.

image

Additional context

I explored one possible implementation for a different terminal here: https://gitlab.gnome.org/Teams/Design/whiteboards/-/issues/233

Summary: when Warp changes a tab's title (usually in response to the prompt sending "user@host"), it could also set the tab's color scheme based on the hostname. 'bronson@fedorawould be blue,bronson@colo` would be scary red.

I think something like this would cure me of typing commands into the wrong terminal!

Related Features

This would be like https://github.com/warpdotdev/Warp/issues/478, but automatic.

And people mentioned something similar in https://github.com/warpdotdev/Warp/discussions/442

How important is this feature to you?

3

Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1

None

dannyneira commented 6 months ago

Thanks for this feature request @bronson. As a possible workaround, I recommend you look into the Tabs docs, it covers how to change tab colors, and even set the name of the tab in the "Terminal tip" section, also look into the Session navigation feature for quickly finding sessions.

To anyone else interested in this feature, please add a 👍 to the original post at the top to signal that you want this feature, and subscribe if you'd like to be notified.

jimcornmell commented 6 months ago

+1