aboutsummaryrefslogtreecommitdiff
path: root/toys/example
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/example
parent151e3f782333acbe349fdaac3ec843e42e95be3f (diff)
downloadtoybox-17a2d5783ac38d1b79f37e2524d390ac7386dbf4.tar.gz
Make microcom use set_terminal() and move speed setting into set_terminal().
Diffstat (limited to 'toys/example')
-rw-r--r--toys/example/demo_scankey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/example/demo_scankey.c b/toys/example/demo_scankey.c
index d21490c8..cc625092 100644
--- a/toys/example/demo_scankey.c
+++ b/toys/example/demo_scankey.c
@@ -33,7 +33,7 @@ void demo_scankey_main(void)
tty_esc("?25l"); // hide cursor
tty_esc("0m"); // reset color to default
tty_esc("2J"); // Clear screen
- xset_terminal(1, 1, 0); // Raw mode
+ xset_terminal(1, 1, 0, 0); // Raw mode
for (;;) {
tty_jump(x, y);