mirror of
https://github.com/sheumann/hush.git
synced 2024-12-21 23:29:34 +00:00
watch: more compatible screen format
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
2e36eb8f27
commit
f25252c69e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user