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

Assorted rust tools emit terminal codes to non-ttys #42707

Closed
mcandre opened this issue Jun 16, 2017 · 1 comment
Closed

Assorted rust tools emit terminal codes to non-ttys #42707

mcandre opened this issue Jun 16, 2017 · 1 comment
Labels
C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@mcandre
Copy link

mcandre commented Jun 16, 2017

Some rust tools, inclusing rustc and cargo, emit terminal codes when the terminal is not an interactive user session. For example, rustc may be run from within a vi or emacs terminal, or cargo may be piped to less.

In general, command line tools should disable terminal codes when !tty(), so that the output can be better processed.

@Mark-Simulacrum
Copy link
Member

This is attempted to be done today. Can you tell us exactly what case is going wrong for you?

@Mark-Simulacrum Mark-Simulacrum added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Jun 23, 2017
@Mark-Simulacrum Mark-Simulacrum added the C-bug Category: This is a bug. label Jul 27, 2017
@compiler-errors compiler-errors closed this as not planned Won't fix, can't repro, duplicate, stale Jul 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants