Modified display_heading func

This commit is contained in:
xavi 2024-09-04 12:58:46 -07:00
parent bf70f3415a
commit bf1f5e0c70

View File

@ -57,7 +57,13 @@ int view_all(sqlite3 *db){
}
// Print Heading TODO: obvi make this better
void view_heading(){
void display_heading(){
printf("\n");
printf("%s Today %s", X_BOLD, X_RST);
printf(" %s Backlog %s", X_BOLD, X_RST);
printf(" %s Blocked %s", X_BOLD, X_RST);
printf("\n");
printf("%s%stitle due date %s", X_BOLD, X_UNDL, X_RST);
printf(" %s%stitle due date %s", X_BOLD, X_UNDL, X_RST);
printf(" %s%stitle due date %s", X_BOLD, X_UNDL, X_RST);
@ -173,7 +179,7 @@ int view(sqlite3 *db){
char* colnames = "title,creation_date";
// Print Heading
view_heading();
display_heading();
// Print "today" tasks
if ( display_task_list(TODAY_COL_START, db, colnames, table, status) ){