Modified colors for due date
This commit is contained in:
parent
e9119c2981
commit
f6d1b03c18
@ -618,10 +618,10 @@ int set_color_of_date(const char *due_date){
|
||||
printf("%s", X_GREEN);
|
||||
}
|
||||
else if ( days_until_due_date > 7 ){
|
||||
printf("%s", X_CYN);
|
||||
printf("%s", X_YELLOW);
|
||||
}
|
||||
else if ( days_until_due_date > 3 ){
|
||||
printf("%s", X_CYN);
|
||||
printf("%s", X_YELLOW);
|
||||
}
|
||||
else{
|
||||
printf("%s", X_RED);
|
||||
|
@ -5,6 +5,7 @@
|
||||
#define X_BOLD "\x1B[1m"
|
||||
#define X_UNDL "\x1B[21m"
|
||||
#define X_CYN "\x1B[36m"
|
||||
#define X_YELLOW "\x1B[38;5;226m"
|
||||
#define X_GREEN "\x1B[32m"
|
||||
#define X_RED "\x1B[31m"
|
||||
#define X_goup(y) printf("\x1B[%dF", y)
|
||||
|
Loading…
Reference in New Issue
Block a user