Skip to content

Commit

Permalink
lxc-top: print new line after flush terminal
Browse files Browse the repository at this point in the history
I think this is a common feature for top-like programs.

Signed-off-by: feng xiahou xiahoufeng@yahoo.com
  • Loading branch information
fanyeren committed Dec 15, 2015
1 parent ab57236 commit 4db667c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lxc/lxc_top.c
Expand Up @@ -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)
Expand Down

0 comments on commit 4db667c

Please sign in to comment.