Feature request: Dynamic settings attribute(s) toggle #5880

Open
opened 2026-01-31 00:24:19 +00:00 by claunia · 2 comments
Owner

Originally created by @mkitzan on GitHub (Jan 13, 2020).

Description of the new feature/enhancement

Recently, a few issues have popped up expressing an interest in a feature which could support the dynamic switching of the colors and styling settings attributes of an open Profile. The following settings attributes could be made to support dynamic switching:

  • colorScheme (if nothing else this is a must support)
  • foreground
  • background
  • backgroundImage
  • fontSize
  • fontFace
  • requestedTheme

Issues which are related to this generic feature request:

  • #4176, supporting switching to a presentation mode
  • #4066, supporting switching between light/dark colorScheme/theme
  • #3687, supporting switching between colorSchemes (this one wants different colorScheme per tab, rather than all tabs of a certain profile)

Proposed technical implementation details (optional)

It would make sense to implement the switching trigger as a shortcut key binding which changes the present tab's colorScheme to a preset scheme. When the colorScheme has been switched and the shortcut key is pressed again it could return to the default scheme for the tab's profile.

Potentially this shortcut key could be bound to switch not only the colorScheme but also other settings attributes as well (like fontSize). The return to default behavior could be applied to all the switched attributes.

Originally created by @mkitzan on GitHub (Jan 13, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement Recently, a few issues have popped up expressing an interest in a feature which could support the dynamic switching of the colors and styling settings attributes of an open `Profile`. The following settings attributes could be made to support dynamic switching: - `colorScheme` (if nothing else this is a must support) - `foreground` - `background` - `backgroundImage` - `fontSize` - `fontFace` - `requestedTheme` Issues which are related to this generic feature request: - #4176, supporting switching to a presentation mode - #4066, supporting switching between light/dark `colorScheme`/theme - #3687, supporting switching between `colorScheme`s (this one wants different `colorScheme` per tab, rather than all tabs of a certain profile) <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> # Proposed technical implementation details (optional) It would make sense to implement the switching trigger as a shortcut key binding which changes the present tab's `colorScheme` to a preset scheme. When the `colorScheme` has been switched and the shortcut key is pressed again it could return to the default scheme for the tab's profile. Potentially this shortcut key could be bound to switch not only the `colorScheme` but also other settings attributes as well (like `fontSize`). The return to default behavior could be applied to all the switched attributes. <!-- A clear and concise description of what you want to happen. -->
claunia added the Issue-FeatureProduct-TerminalArea-Extensibility labels 2026-01-31 00:24:19 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (Jan 13, 2020):

With a scope like this, it might be best to handle this as an extension. 😄 I've tagged it as such.

@DHowett-MSFT commented on GitHub (Jan 13, 2020): With a scope like this, it might be best to handle this as an extension. :smile: I've tagged it as such.
Author
Owner

@zadjii-msft commented on GitHub (Dec 9, 2021):

You know, the majority of this ask was probably accomplished by the setColorScheme action. I think we've got other requests laying around for setFontSize (instead of just adjustFontSize). Combine these sorts of things with a multipleActions action, and we might get the effect we're looking for here.

@zadjii-msft commented on GitHub (Dec 9, 2021): You know, the majority of this ask was probably accomplished by the `setColorScheme` action. I think we've got other requests laying around for `setFontSize` (instead of just `adjustFontSize`). Combine these sorts of things with a `multipleActions` action, and we might get the effect we're looking for here.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#5880