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
This commit is contained in:
fanyeren 2015-12-15 16:11:38 +08:00
parent ab5723672b
commit 4db667c4fa

View File

@ -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)