aboutsummaryrefslogtreecommitdiff
path: root/procps/top.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/top.c')
-rw-r--r--procps/top.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/procps/top.c b/procps/top.c
index 85ceaccf7..e3f91c8f9 100644
--- a/procps/top.c
+++ b/procps/top.c
@@ -933,6 +933,8 @@ int top_main(int argc ATTRIBUTE_UNUSED, char **argv)
} /* end of "while (1)" */
bb_putchar('\n');
+#if ENABLE_FEATURE_USE_TERMIOS
reset_term();
+#endif
return EXIT_SUCCESS;
}