-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
tsh play --format=text #46849
tsh play --format=text #46849
Conversation
a95b5f9
to
c5bbdd5
Compare
The PR changelog entry failed validation: The changelog entry must start with a letter. |
The PR changelog entry failed validation: The changelog entry must start with a letter. |
actually, I wonder if we should not strip ansi control characters? It messes up the output when I remote into my box that has fish shell (doing all kinds of colorful things and auto completions). with stripping:
vs tsh built without the ansi stripping:
|
For sessions with print events, this command will write the text directly to standard out. This makes it easier to grep for a particular pattern or just dump a session recording to a file for manual analysis. Closes #11694
c5bbdd5
to
55f98b1
Compare
Decided to remove the ANSI stripping and just print the raw session. It's a bit simpler, requires no dependencies, and you can always pipe the output through to a separate tool that strips the ANSI control characters. |
For sessions with print events, this command will write the text directly to standard out. This makes it easier to grep for a particular pattern or just dump a session recording to a file for manual analysis.
Closes #11694
changelog: tsh play now supports a text output format