aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/ps.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2018-08-17 23:02:00 -0500
committerRob Landley <rob@landley.net>2018-08-17 23:02:00 -0500
commit17a2d5783ac38d1b79f37e2524d390ac7386dbf4 (patch)
tree1595c2a1c488c44241174fadd9ab55a756dc4053 /toys/posix/ps.c
parent151e3f782333acbe349fdaac3ec843e42e95be3f (diff)
downloadtoybox-17a2d5783ac38d1b79f37e2524d390ac7386dbf4.tar.gz
Make microcom use set_terminal() and move speed setting into set_terminal().
Diffstat (limited to 'toys/posix/ps.c')
-rw-r--r--toys/posix/ps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/ps.c b/toys/posix/ps.c
index 43c4ab1b..5133b69b 100644
--- a/toys/posix/ps.c
+++ b/toys/posix/ps.c
@@ -1730,7 +1730,7 @@ static void top_setup(char *defo, char *defk)
// Grab starting time, make terminal raw, switch off cursor,
// set signal handler to put terminal/cursor back to normal at exit.
TT.time = millitime();
- set_terminal(0, 1, 0);
+ set_terminal(0, 1, 0, 0);
sigatexit(tty_sigreset);
xsignal(SIGWINCH, generic_signal);
printf("\033[?25l\033[0m");