Feature Request
Add support for setting background color with opacity on a per-window basis via escape sequences, similar to kitty's OSC 21 color protocol.
Current Behavior
Rio supports [window] opacity in config, but this:
- Affects all windows globally
- Requires restart to take effect
- Cannot be changed dynamically per-window
OSC 11 works for setting background color, but doesn't support alpha/opacity.
Requested Behavior
Support kitty's OSC 21 color protocol for per-window colors with opacity:
# Set background with 80% opacity
printf '\e]21;background=#1a1b26@0.8\007'
# Reset to default
printf '\e]21;background\007'
Use Case
Dynamic per-window theming based on context (e.g., different opacity for different projects/tasks) without affecting other terminal windows.
Reference