0

When building, some build systems check a tty for nicer output.

In the case of ninja this is used for

  • \r to print into the same line (avoid flooding the build log).
  • Color output.

Is there a way to compile using a tty? (so the resulting output uses compilation-mode for clickable errors for e.g).


It should be possible to:

  • Build using term
  • On completion, replace the term buffer with a compilation buffer, with the same contents.

However there may be an existing, better solutions for this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.