-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Control Windows Terminal with Xterm Control Sequences? #7623
Comments
It largely depends on exactly what you're trying to do. There's upwards of a hundred control sequences with heaps of different behaviors. Can you be more specific about what's failing? That might help us point you in the right direction 😄 (NOTE: cygwin <= 3.1 eats control sequences and does not pass them through to the terminal.) |
Thank you for your prompt response. Specifically what I need to do is control foreground and background color, title, and font. |
Ah, interesting. We're not intending on supporting font selection, but colors should work. Are you using the X11 color names ( When I use RGB, all of those things work including the title. The title is immediately reset by my shell prompt pre-command, however, so above I've used a sleep to suppress it for a sec. |
Thank you. I was using black and white in my tests, will try the rgb syntax in the morning. |
That's really useful info. Okay, so:
I'll close this as a duplicate of those above. Sorry about not being quite so robust! |
I notice that Windows Terminal identifies itself as xterm-256color. However, I cannot get it to respond to Xterm control sequences as output by xtermcontrol (https://thrysoee.dk/xtermcontrol/). This is both when running Cygwin bash and when running bash in any WSL distribution.
Cygwin's Mintty on the other hand responds properly, as do terminal progams like xterm and rxvt, running either under Cygwin or any WSL distro.
Is this simply not possible, or does it need to be enabled somewhere?
The text was updated successfully, but these errors were encountered: