mirror of
https://github.com/FAUSheppy/colorredstderr-mirror
synced 2025-12-06 07:01:38 +01:00
Set DEFAULT_PRE_STRING to red.
Bright red doesn't work in GNU/Linux's console.
This commit is contained in:
3
README
3
README
@@ -85,8 +85,7 @@ A default setup could look like this:
|
||||
The following additional environment variables are available:
|
||||
|
||||
- 'COLORED_STDERR_PRE'
|
||||
String to write before each write to stderr, defaults to "\033[91m" (bright
|
||||
red).
|
||||
String to write before each write to stderr, defaults to "\033[31m" (red).
|
||||
- 'COLORED_STDERR_POST'
|
||||
String to write after each write to stderr, defaults to "\033[0m" (reset
|
||||
color).
|
||||
|
||||
@@ -28,8 +28,8 @@
|
||||
#define ENV_NAME_PRIVATE_FDS "COLORED_STDERR_PRIVATE_FDS"
|
||||
|
||||
/* Strings written before/after each matched function. */
|
||||
#define DEFAULT_PRE_STRING "\033[91m"
|
||||
#define DEFAULT_POST_STRING "\033[0m"
|
||||
#define DEFAULT_PRE_STRING "\033[31m" /* red */
|
||||
#define DEFAULT_POST_STRING "\033[0m" /* default */
|
||||
|
||||
/* Number of elements to allocate statically. Highest descriptor observed in
|
||||
* normal use was 255 (by bash), which yielded this limit to prevent
|
||||
|
||||
Reference in New Issue
Block a user