Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ab/mediawiki-name-truncation'
[gitweb.git]
/
column.c
diff --git
a/column.c
b/column.c
index ff7bdab1a32478c8719ee3b973742456df7dc629..49ab85b76916784d5d5e6d6ef15a9638ef97b59f 100644
(file)
--- a/
column.c
+++ b/
column.c
@@
-224,7
+224,7
@@
int finalize_colopts(unsigned int *colopts, int stdout_is_tty)
if (stdout_is_tty < 0)
stdout_is_tty = isatty(1);
*colopts &= ~COL_ENABLE_MASK;
- if (stdout_is_tty)
+ if (stdout_is_tty
|| pager_in_use()
)
*colopts |= COL_ENABLED;
}
return 0;