[MDEV-20223] Add colors to mtr in case of STDIN Created: 2019-07-31 Updated: 2019-08-07 Resolved: 2019-08-06 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Server, Tests |
| Affects Version/s: | None |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Anel Husakovic | Assignee: | Sergei Golubchik |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
mtr got colors in
but there should be. |
| Comments |
| Comment by Sergei Golubchik [ 2019-08-06 ] |
|
mtr intentionally disables colors if the output is not a terminal. because — exactly — you don't want ANSI escape sequences in your "tmp" file. There are two solutions for that
|
| Comment by Anel Husakovic [ 2019-08-07 ] |
|
Thank you serg for clarification. |