You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Through Lua scripting, Wezterm already allows for automatic switching between light and dark themes. However, applications running within the terminal are unaware of this and don't receive any kind of notification when the switching takes place. A consequence of this is that in some cases, the readability is far from optimal due to insufficient contrast between the background color and the colors from the chosen theme of the app itself.
The request here is to make sure that applications running in Wezterm can query the current theme (light/dark), but can also use CSI 2031 to subscribe to theme updates.
The text was updated successfully, but these errors were encountered:
Through Lua scripting, Wezterm already allows for automatic switching between light and dark themes. However, applications running within the terminal are unaware of this and don't receive any kind of notification when the switching takes place. A consequence of this is that in some cases, the readability is far from optimal due to insufficient contrast between the background color and the colors from the chosen theme of the app itself.
Recently, a few other terminal emulators and applications have implemented a simple protocol for dark/light mode detection and update notifications. For documentation, see: https://github.com/contour-terminal/contour/blob/f3c3334aa5c861348c5bbe8ffe572c872eef2e08/docs/vt-extensions/color-palette-update-notifications.md
Terminal emulators that are implementing CSI 2031 are:
Applications that take advantage of CSI 2031 are:
The request here is to make sure that applications running in Wezterm can query the current theme (light/dark), but can also use CSI 2031 to subscribe to theme updates.
The text was updated successfully, but these errors were encountered: