watch: more compatible screen format
No binary (build failed)
—
(log yok)
| @@ -62,7 +62,7 @@ int watch_main(int argc UNUSED_PARAM, char **argv) | |
| strftime(header + width - time_len, time_len, | |
| "%Y-%m-%d %H:%M:%S", localtime(&t)); | |
| - | puts(header); |
| + | printf("%s\n\n", header); /* compat: empty line */ |
| } | |
| fflush_all(); | |
| // TODO: 'real' watch pipes cmd's output to itself | |