Skip to content
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

Console Virtual Terminal Sequences #147

Open
spudwa opened this issue Jun 20, 2020 · 2 comments
Open

Console Virtual Terminal Sequences #147

spudwa opened this issue Jun 20, 2020 · 2 comments

Comments

@spudwa
Copy link

spudwa commented Jun 20, 2020

I currently log to a terminal console and highlight/color text using the newly available VT sequences. Could snaketail support this?

https://docs.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences

@snakefoot
Copy link
Owner

So you redirect the console output to a file, and when SnakeTail is used to view this file, then SnakeTail should automatically perform coloring based on the VT-instructions?

Right now SnakeTail doesn't recognize VT-sequences.

@spudwa
Copy link
Author

spudwa commented Jun 20, 2020

Yes I would use the C freopen function to redirect all my printf's to a file which will be tailed by snaketail. These VT sequences are the new way of doing terminal stuff as they will work for Windows and Linux/Mac OSes. I've downloaded the snaketail source code so if you could point me to the approximate place I'll have a go myself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants