Modified display_heading func
This commit is contained in:
parent
bf70f3415a
commit
bf1f5e0c70
10
src/dodo.c
10
src/dodo.c
@ -57,7 +57,13 @@ int view_all(sqlite3 *db){
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Print Heading TODO: obvi make this better
|
// 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);
|
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";
|
char* colnames = "title,creation_date";
|
||||||
|
|
||||||
// Print Heading
|
// Print Heading
|
||||||
view_heading();
|
display_heading();
|
||||||
|
|
||||||
// Print "today" tasks
|
// Print "today" tasks
|
||||||
if ( display_task_list(TODAY_COL_START, db, colnames, table, status) ){
|
if ( display_task_list(TODAY_COL_START, db, colnames, table, status) ){
|
||||||
|
Loading…
Reference in New Issue
Block a user