-
Notifications
You must be signed in to change notification settings - Fork 283
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
Clink breaks ConEmu-specific Escape codes #487
Comments
Commit 7b0e646 in the chrisant996 fork automatically passes all output (including escape codes) directly to the console when the console says it supports VT processing. There is a |
@chrisant996 Nice job, I'll have a look later 👍 Awesome to see P.S. is it possible to try and enable this flag for GetConsoleMode(m_handle, &mode);
mode |= ENABLE_VIRTUAL_TERMINAL_PROCESSING;
SetConsoleMode(m_handle, mode); |
It's possible, but why? |
-- Not to get offtopic from this issue, but I think it would be appreciated on other platforms, where it's not enabled by default, for any reason. I feel like being able to use a settings for that would be useful. REG ADD HKCU\CONSOLE /f /v VirtualTerminalLevel /t REG_DWORD /d 1 So, it'd be appreciated if calling That's my 2¢ though, feel free to implement any VT100-related attribute as you fit; the new |
Hm, yes, I thought it was possible to set a .LNK file to forcibly enable VT processing for its specific console instance, but that doesn't seem to be the case. There's only a way to control VT processing and other features for all console instances. I've opened chrisant996 #8 for this. Thanks for the suggestion and explanation! |
Some terminal emulators (such as ConEmu) have their own specific Escape Code sequence.
For example, ConEmu uses an extended set of commands explained in here which are caught when Cmd echo them.
However, Clink processes the escape sequences itself, and thus breaks ConEmu compatibility.
IMO, Clink should pass-through any escape sequence that it does not understand, so ConEmu could work as expected.
The text was updated successfully, but these errors were encountered: