Commit 4db667c4 by fanyeren

lxc-top: print new line after flush terminal

I think this is a common feature for top-like programs. Signed-off-by: feng xiahou xiahoufeng@yahoo.com
parent ab572367
...@@ -114,6 +114,7 @@ Options :\n\ ...@@ -114,6 +114,7 @@ Options :\n\
static void stdin_tios_restore(void) static void stdin_tios_restore(void)
{ {
tcsetattr(0, TCSAFLUSH, &oldtios); tcsetattr(0, TCSAFLUSH, &oldtios);
fprintf(stderr, "\n");
} }
static int stdin_tios_setup(void) static int stdin_tios_setup(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment