diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2020-07-12 16:50:22 +0200 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2020-07-12 16:52:20 +0200 |
commit | 64f03635d763bd627f4fb8516c04eb64e881c902 (patch) | |
tree | 735c377061d27715e44e995da8451f47f954514c /src/libfetchers/attrs.hh | |
parent | 8efa23bb996161af74f89401902450e51e9d4b54 (diff) |
Fix ANSI color constants
The `m` acts as termination-symbol when declaring graphics. Because
of this, the `;1m` doesn't have any effect and is directly printed to
the console:
```
$ nix repl
> builtins.fetchGit { /* ... */ }
{ outPath = "/nix/store/s0f0iz4a41cxx2h055lmh6p2d5k5bc6r-source"; rev = "e73e45b723a9a6eecb98bd5f3df395d9ab3633b6"; revCount = ;1m428; shortRev = "e73e45b"; submodules = ;1mfalse; }
```
Introduced by 6403508f5a2fcf073b2a0d4e5fcf5f5ebb890384.
Diffstat (limited to 'src/libfetchers/attrs.hh')
0 files changed, 0 insertions, 0 deletions