From: fanyeren Date: Tue, 15 Dec 2015 08:11:38 +0000 (+0800) Subject: lxc-top: print new line after flush terminal X-Git-Tag: lxc-2.0.0.beta1~7^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F727%2Fhead;p=thirdparty%2Flxc.git 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 --- diff --git a/src/lxc/lxc_top.c b/src/lxc/lxc_top.c index 22093bb37..c4cb87168 100644 --- a/src/lxc/lxc_top.c +++ b/src/lxc/lxc_top.c @@ -114,6 +114,7 @@ Options :\n\ static void stdin_tios_restore(void) { tcsetattr(0, TCSAFLUSH, &oldtios); + fprintf(stderr, "\n"); } static int stdin_tios_setup(void)