Automatically use color to distinguish terminals

Open
#4,243 5 comments 45 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust
Domain
cli, desktop

Research direction

Start by reviewing related issue #478, discussion #442, and the linked GNOME design issue for prior approaches to identifying hosts and changing terminal colors. Done should mean a tab automatically selects a distinct palette when logging into a different container or remote host, without requiring manual color changes.

Written by the indexing model from the issue text.

Description

area:ui-framework enhancement triaged
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

Dominant language
Rust
Stars
65.1k
Forks
5.6k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from warpdotdev/warp

All issues in warpdotdev/warp

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.