From 4db667c4faa053727f42b0b87961df4f43307f11 Mon Sep 17 00:00:00 2001 From: fanyeren Date: Tue, 15 Dec 2015 16:11:38 +0800 Subject: [PATCH] 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 --- src/lxc/lxc_top.c | 1 + 1 file changed, 1 insertion(+) 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) -- 2.47.2