GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [FEATURE]: Add support for OpenTUI's new themeMode detection (Mode 2031) · Issue #13232 · anomalyco/opencode Closed as not planned Closed as not planned Copy link Labels discussionUsed for feature requests, proposals, ideas, etc. Open discussionopentuiThis relates to changes in v1.0, now that opencode uses opentui DescriptionFeature hasn't been suggested before.
Describe the enhancement you want to requestOpenCode detects dark/light once at startup via OSC 11 luminance and never reacts to changes. Users who switch appearance mid-session have to restart or manually toggle. We added Mode 2031 dark/light theme detection to OpenTUI in opentui#657 (shipped in v0.1.78, included in v0.1.79 which OpenCode is already on via #13036). The This proposes integrating that API into OpenCode's theme system: 1. Tri-state mode ( 2. Per-mode theme config (backward compatible): // existing — works as before { "theme": "opencode" } // new — different themes per mode { "theme": { "light": "github", "dark": "catppuccin" } } 3. Appearance selector in the existing theme dialog — Mode 2031 is the same approach used by Neovim and Helix. Terminal-native, event-driven, zero overhead. Supported on Ghostty 1.0+, kitty 0.38.1+, Contour 0.4+, VTE 0.82+. Unsupported terminals silently ignore the sequences. 31 of 33 built-in themes have Previously requested via different approaches (this uses OpenTUI's new themeMode, which none of them had):
Reacted by Niklaas Baudet von Gersdorff, Adam Spiers, Rishabh Sambare and Doug Richardson Activity
MetadataMetadataAssigneesLabelsdiscussionUsed for feature requests, proposals, ideas, etc. Open discussionopentuiThis relates to changes in v1.0, now that opencode uses opentui TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |