Thread overview
[Issue 20788] Difference between colored and non colored output
May 08, 2020
RazvanN
May 08, 2020
Andre
May 08, 2020
ag0aep6g
May 08, 2020
Dlang Bot
Jan 02, 2021
Dlang Bot
May 08, 2020
https://issues.dlang.org/show_bug.cgi?id=20788

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |razvan.nitu1305@gmail.com
         Resolution|---                         |INVALID

--- Comment #1 from RazvanN <razvan.nitu1305@gmail.com> ---
The output is the same, it just looks different in the terminal. If you redirect stderr to a file, regardless of the option of color (on/off) you will have the same output. It's just that when color is on, the backquotes are not displayed, instead the selected words are higlighted. I will close as invalid, but please reopen if you have a use case that is hindered by this.

--
May 08, 2020
https://issues.dlang.org/show_bug.cgi?id=20788

--- Comment #2 from Andre <andre@s-e-a-p.de> ---
The issue is not about me, I know the behavior, but every other user will be very likely hit by this behavior and will think dustmite does not work.

It is not a display issue. If you copy the output into the clipboard also the necessary ticks are missing. Every user will learn by hard (wasting some time), he/she has to disable color outout if the output should be used for dustmite search.

--
May 08, 2020
https://issues.dlang.org/show_bug.cgi?id=20788

ag0aep6g <ag0aep6g@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |ag0aep6g@gmail.com
         Resolution|INVALID                     |---

--- Comment #3 from ag0aep6g <ag0aep6g@gmail.com> ---
(In reply to RazvanN from comment #1)
> The output is the same, it just looks different in the terminal. If you redirect stderr to a file, regardless of the option of color (on/off) you will have the same output. It's just that when color is on, the backquotes are not displayed, instead the selected words are higlighted.

The output is not the same. You say it yourself: The backticks are missing in the colored output.

> I will close
> as invalid, but please reopen if you have a use case that is hindered by
> this.

Reopening. Andre has stated his use case: Copying from the terminal, pasting into a dustmite command. I think that's a valid concern, but it might not be deemed important enough to warrant a change. In that case, I suggest closing as WONTFIX instead of INVALID.

--
May 08, 2020
https://issues.dlang.org/show_bug.cgi?id=20788

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
@aG0aep6G created dlang/dmd pull request #11110 "fix issue 20788 - Difference between colored and non colored output" fixing this issue:

- fix issue 20788 - Difference between colored and non colored output

https://github.com/dlang/dmd/pull/11110

--
January 02, 2021
https://issues.dlang.org/show_bug.cgi?id=20788

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #11110 "fix issue 20788 - Difference between colored and non colored output" was merged into master:

- 359824bf497ba8e07bd358b12a46b39201fea428 by aG0aep6G:
  fix issue 20788 - Difference between colored and non colored output

- 9dde9c3190952526fca713b0bc0e4e25afeaa45e by aG0aep6G:
  fixup! fix issue 20788 - Difference between colored and non colored output

https://github.com/dlang/dmd/pull/11110

--