mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
header output: switch off all styles, not just unbold
... the "unbold" sequence doesn't work on the mac Terminal. Reported-by: Zero King Fixes #2736 Closes #2738
This commit is contained in:
parent
092f6815c8
commit
a82372e0fb
@ -42,7 +42,10 @@ static char *parse_filename(const char *ptr, size_t len);
|
||||
#define BOLDOFF
|
||||
#else
|
||||
#define BOLD "\x1b[1m"
|
||||
#define BOLDOFF "\x1b[21m"
|
||||
/* Switch off bold by settting "all attributes off" since the explicit
|
||||
bold-off code (21) isn't supported everywhere - like in the mac
|
||||
Terminal. */
|
||||
#define BOLDOFF "\x1b[0m"
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user