aboutsummaryrefslogtreecommitdiff
path: root/src/tool_cfgable.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-03-01 13:49:28 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-03-01 18:30:16 +0000
commiteba197161a5917631dd7732de842c68e3159c951 (patch)
tree4d952862373734940ddde5808a71df63a2adbc4e /src/tool_cfgable.h
parent36802d6e0c402969cb64ef9dd0d0b799165198d8 (diff)
tool: Moved internal variable isatty to the global config
Diffstat (limited to 'src/tool_cfgable.h')
-rw-r--r--src/tool_cfgable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_cfgable.h b/src/tool_cfgable.h
index 104117590..451974468 100644
--- a/src/tool_cfgable.h
+++ b/src/tool_cfgable.h
@@ -100,7 +100,6 @@ struct OperationConfig {
bool netrc_opt;
bool netrc;
char *netrc_file;
- bool isatty; /* updated internally only if output is a tty */
struct getout *url_list; /* point to the first node */
struct getout *url_last; /* point to the last/current node */
struct getout *url_get; /* point to the node to fill in URL */
@@ -216,6 +215,7 @@ struct GlobalConfig {
1 => -S has been used to show errors */
bool mute; /* don't show messages, --silent given */
bool noprogress; /* don't show progress bar --silent given */
+ bool isatty; /* Updated internally if output is a tty */
FILE *errors; /* Error stream, defaults to stderr */
bool errors_fopened; /* Whether error stream isn't stderr */
char *trace_dump; /* file to dump the network trace to */