exa/xtests/links_bw
Benjamin Sago 59d9e90f20 Replace “mi” colour with “bO” overlay
Fixes #288, but more-or-less as a side-effect.

The “mi” key in LS_COLORS was meant to be used for a missing link path, but it wasn’t really used like that. There was also a bug where control characters in a broken symlink’s path were assumed to be underlined, because that’s what happened in the default colour scheme, but this assumption doesn’t hold when colours were disabled.

The solution to these was not to introduce another configurable colour code, but to start using _overlays_ to alter a bunch of colours at once. The “mi” code will have to be added back later.
2017-10-08 17:08:07 +01:00

5 lines
248 B
Plaintext

/testcases/file-names/links
├── another: [\n] -> /testcases/file-names/new-line-dir: [\n]/another: [\n]
├── broken -> /testcases/file-names/new-line-dir: [\n]/broken
└── subfile -> /testcases/file-names/new-line-dir: [\n]/subfile