Move status printing into a function and rename existing end function
modified pkg/event.c
@@ -42,7 +42,7 @@ static char url[MAXPATHLEN+1];
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -50,6 +50,14 @@ print_and_set_term_title(struct sbuf *msg)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -112,13 +120,12 @@ event_callback(void *data, struct pkg_event *ev)
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -177,13 +184,12 @@ event_callback(void *data, struct pkg_event *ev)
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -206,8 +212,8 @@ event_callback(void *data, struct pkg_event *ev)
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -224,7 +230,7 @@ event_callback(void *data, struct pkg_event *ev)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|