mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-23 07:51:10 +01:00
[hb-info] Show color swatch only if printing to terminal
This commit is contained in:
1 parent
817ec182eb
commit
192361cb4d
1 file changed
+1
-1
+1
-1
@@ -1324,7 +1324,7 @@ struct info_t :
|
||||
}
|
||||
|
||||
#ifdef HAVE_CHAFA
|
||||
if (verbose)
|
||||
if (verbose && isatty (fileno (stdout)))
|
||||
{
|
||||
GString *chafa_str = _palette_chafa_str (i);
|
||||
printf ("%u %s %-23s %*s\n", i, type, name,
|
||||
|
||||
Reference in new issue
Block a user