Ability to set different colors for different exit codes

Open
#2,584 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust
Domain
cli

Research direction

No files or tests are named in the issue. Start by locating the terminal color handling and the path that receives command exit codes, then review existing configuration options. Done means exit-code-specific colors can be configured and are applied consistently for the requested values, including a fallback for other codes.

Written by the indexing model from the issue text.

Description

area:ui-framework enhancement triaged
Discord username (optional)

No response

Describe the solution you'd like?
Just the ability to set different colour codes for different exit codes.
Is your feature request related to a problem? Please describe.
Nope, not really. I can just picture it being a quick and dirty debug option when working directly with shellcode / binaries / longer scripts etc. I know you could just grab the last exit code other ways so it's not really a big deal but I kinda like the idea of being able to set 0 = green, 1337 = magenta, ![0,1337] = red.
Additional context

No response

How important is this feature to you?

1 (Not too important)

Warp Internal (ignore) - linear-label:770f6576-d6c0-4e4f-a259-fc64b5156087

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.