[PR #7329] Add support for commands iterable on color schemes #26898

Closed
opened 2026-01-31 09:18:47 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/7329

State: closed
Merged: Yes


Summary of the Pull Request

cmdpal-set-color-scheme

Allows for creating commands that iterate over the user's color schemes. Also adds a top-level nested command to defaults.json that allows the user to select a color scheme (pictured above). I'm not sure there are really any other use cases that make sense, but it really makes sense for this one.

References

  • #5400 - cmdpal megathread
  • made possible by #6856, and support from viewers like you.
  • All this is being done in pursuit of #6689

PR Checklist

  • Closes wait what? I could have swore there was an issue for this one...
  • I work here
  • Tests added/passed
  • Requires documentation to be updated - okay maybe now I'll write some docs

Detailed Description of the Pull Request / Additional comments

Most of the hard work for this was already done in #6856. This is just another thing to iterate over.

Validation Steps Performed

  • Played with this default command. It works great.
  • Added tests.
**Original Pull Request:** https://github.com/microsoft/terminal/pull/7329 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request ![cmdpal-set-color-scheme](https://user-images.githubusercontent.com/18356694/90517094-8eddd480-e12a-11ea-8be4-8b6782d8d88c.gif) Allows for creating commands that iterate over the user's color schemes. Also adds a top-level nested command to `defaults.json` that allows the user to select a color scheme (pictured above). I'm not sure there are really any other use cases that make sense, but it _really_ makes sense for this one. ## References * #5400 - cmdpal megathread * made possible by #6856, _and support from viewers like you._ * All this is being done in pursuit of #6689 ## PR Checklist * [x] Closes wait what? I could have swore there was an issue for this one... * [x] I work here * [x] Tests added/passed * [ ] Requires documentation to be updated - okay maybe now I'll write some docs ## Detailed Description of the Pull Request / Additional comments Most of the hard work for this was already done in #6856. This is just another thing to iterate over. ## Validation Steps Performed * Played with this default command. It works great. * Added tests.
claunia added the pull-request label 2026-01-31 09:18:47 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#26898