xz: Use is_tty() in message.c.

This commit is contained in:
Jia Tan 2023-11-23 22:13:39 +08:00
parent 0ecfaa6df9
commit 7dc466d621
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ message_init(void)
// exception, even if --verbose was not used, user can send SIGALRM
// to make us print progress information once without automatic
// updating.
progress_automatic = isatty(STDERR_FILENO);
progress_automatic = is_tty(STDERR_FILENO);
// Commented out because COLUMNS is rarely exported to environment.
// Most users have at least 80 columns anyway, let's think something