-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for color changing escape sequences #2038
Comments
Hey there, to verify if this is indeed a Hyper issue or upstream at https://github.com/xtermjs/xterm.js/ could you please test if another xterm.js powered terminal shows the same problem you are experiencing? I suggest using https://github.com/Microsoft/vscode for testing. Thanks! |
@Stanzilla I have verified that this works in VS Code: VS Code version info:
However, the colors are displayed as escape characters in Hyper: Here's my about screen: I have tried this with and without the zenburn plugin. |
Thanks! |
PS - in case this wasn't obvious from the screenshots, I am on Windows 10 ... I don't have an arch box handy to try to repro this from the original report :( |
I’ll test this on Arch in an hour or so. |
The sequences do not work in |
Yeah, actually today they are not working for me in VS Code either...I am not sure what changed in the meantime. I am using the same version. |
Wondering about the status of this issue. Is there a current fix for changing the colorscheme via wal/pywal? |
I got around this issue on Windows 10 adding a value in the registry. Add a REG_DWORD type variable called VirtualTerminalLevel with an hexadecimal value of 1 at Computer\HKEY_CURRENT_USER\Console and restart hyper. It should recognize color escape sequences correctly then. |
Tested |
@LabhanshAgrawal Those aren't the sequences I am talking about. Please reopen this issue and please carefully read my initial post. |
I had closed this based on earlier comment by vivek |
This is a command to test it. When running this on e.G. xterm, the color scheme will change to solarized dark. (As always take a look at it before pasting into the terminal)
|
Closing as fixed (added in xterm 4.16) |
1.3.3
Issue
These escape sequences manipulate the open terminal's colorscheme and allow you to change your terminal's colorscheme on the fly. These escape sequences are supported by all of the terminal emulators I've tried with the exception of
konsole
which ignores them.Two of my projects use these escape sequences for their main purpose and they currently don't work in Alacritty since the sequences aren't yet supported.
I fully understand if you don't want to implement this feature, there are a lot of really weird escape sequences in the Xterm/Rxvt specs and I understand that you want to keep Hyper simple. ^^
The sequences are as follows:
Source:
More information:
The text was updated successfully, but these errors were encountered: