Skip to content

Handle ANSI colour codes in error output #19415

Closed

Description

@NashJames

The problem

Error output from pre-commit hooks has become unreadable due to ANSI colour codes. Please support them in your error modal.

It would also be great if you could widen the modal!

Release version

3.4.6

Operating system

MacOS 14.6.1

Steps to reproduce the behavior

No response

Log files

No response

Screenshots

Screenshot 2024-10-17 at 17 48 02
Screenshot 2024-10-17 at 17 58 15

Additional context

I've been using desktop for a few years and generally love the experience!

This has been the only thing repeatedly bothering me with the app for a long time. I hadn't reported it before as I always assumed it was on your radar and the fix would come eventually. I know there are a few existing issues for the output of pre-commit hooks but I'm really hoping this is an easy fix. It would save me a lot of time running tests again in a separate terminal just to read the output.

Thanks!

Activity

  1. added
    triage
    on Oct 17, 2024
  2. steveward commented on Oct 17, 2024

    @steveward
    Contributor

    Thanks for the report @NashJames! I'm going to group this into #18547.

  3. removed
    triage
    on Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions