]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
dircolors: add *direct* to TERM matching
authornl6720 <nl6720@gmail.com>
Tue, 27 Jul 2021 13:29:59 +0000 (16:29 +0300)
committerPádraig Brady <P@draigBrady.com>
Wed, 15 Sep 2021 13:51:11 +0000 (14:51 +0100)
Search for "direct color" at:
https://invisible-island.net/xterm/terminfo.html

* src/dircolors.hin: Add *direct* to match terminals that
support direct colors (24-bit color / TrueColor).
The trailing * will match entries like xterm-direct2.

Addresses https://bugs.gnu.org/39827

src/dircolors.hin

index 834867b14f0e841ecba5afedec50b7050ecc0879..b5d6452d7788557d0cdf456259b86faae84c170c 100644 (file)
@@ -17,6 +17,7 @@ TERM con[0-9]*x[0-9]*
 TERM cons25
 TERM console
 TERM cygwin
+TERM *direct*
 TERM dtterm
 TERM gnome
 TERM hurd