mirror of
https://git.tukaani.org/xz.git
synced 2025-02-25 09:58:18 +00:00
xz: Use is_tty() in message.c.
(cherry picked from commit 7dc466d62155cb7442aa5e10633e084ed384360d)
This commit is contained in:
parent
9f00ad72f0
commit
6a7c0a9ab2
@ -119,7 +119,7 @@ message_init(void)
|
|||||||
// exception, even if --verbose was not used, user can send SIGALRM
|
// exception, even if --verbose was not used, user can send SIGALRM
|
||||||
// to make us print progress information once without automatic
|
// to make us print progress information once without automatic
|
||||||
// updating.
|
// updating.
|
||||||
progress_automatic = isatty(STDERR_FILENO);
|
progress_automatic = is_tty(STDERR_FILENO);
|
||||||
|
|
||||||
// Commented out because COLUMNS is rarely exported to environment.
|
// Commented out because COLUMNS is rarely exported to environment.
|
||||||
// Most users have at least 80 columns anyway, let's think something
|
// Most users have at least 80 columns anyway, let's think something
|
||||||
|
Loading…
x
Reference in New Issue
Block a user