aboutsummaryrefslogtreecommitdiff
path: root/toys/example
diff options
context:
space:
mode:
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);