aboutsummaryrefslogtreecommitdiff
path: root/toys/example
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-01-10 15:59:09 -0600
committerRob Landley <rob@landley.net>2016-01-10 15:59:09 -0600
commit1b983744cde6819fe1d810e98cfac52585ceacaf (patch)
treeb9ace7b8fd5de7183717a5ea4fc92001700b16c8 /toys/example
parent8784d8d968c72328db11a72d50c836fc1650fa9a (diff)
downloadtoybox-1b983744cde6819fe1d810e98cfac52585ceacaf.tar.gz
Make cursor left/right change sort type in iotop.
Diffstat (limited to 'toys/example')
-rw-r--r--toys/example/test_scankey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/example/test_scankey.c b/toys/example/test_scankey.c
index 57177416..17eb0cfd 100644
--- a/toys/example/test_scankey.c
+++ b/toys/example/test_scankey.c
@@ -33,7 +33,7 @@ void test_scankey_main(void)
tty_esc("?25l"); // hide cursor
tty_esc("0m"); // reset color to default
tty_esc("2J"); // Clear screen
- set_terminal(1, 1, 0); // Raw mode
+ xset_terminal(1, 1, 0); // Raw mode
for (;;) {
tty_jump(x, y);