xbps-query: do not print ANSI escape codes if stdout is not a tty.

This commit is contained in:
Juan RP
2014-09-18 10:14:42 +02:00
parent 3b88cbb025
commit 2550d3d006
2 changed files with 39 additions and 17 deletions

3
NEWS
View File

@@ -1,5 +1,8 @@
xbps-0.40 (???):
* xbps-query(8): -S/--show mode no longer prints ANSI escape codes if stdout
is not a tty; suggested by @chneukirchen.
* Reduced considerably memory requirement when checking SHA256 hashes on
files. Previous way of allocating heap memory as big as the file being
processed wasn't a great idea.