From 9448f8e57ed6ff85e756ec5e9545f99e6376e778 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 3 Apr 2018 22:07:46 -0500 Subject: Finish renameing test_* to demo_* in example directories and tweak README. (This way "make test_sed" isn't in the same namespace as "make test_scankey".) --- toys/example/demo_scankey.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'toys/example/demo_scankey.c') diff --git a/toys/example/demo_scankey.c b/toys/example/demo_scankey.c index db900270..d21490c8 100644 --- a/toys/example/demo_scankey.c +++ b/toys/example/demo_scankey.c @@ -1,24 +1,24 @@ -/* test_scankey.c - collate incoming ansi escape sequences. +/* demo_scankey.c - collate incoming ansi escape sequences. * * Copyright 2015 Rob Landley * * TODO sigwinch -USE_TEST_SCANKEY(NEWTOY(test_scankey, 0, TOYFLAG_BIN)) +USE_DEMO_SCANKEY(NEWTOY(demo_scankey, 0, TOYFLAG_BIN)) -config TEST_SCANKEY - bool "test_scankey" +config DEMO_SCANKEY + bool "demo_scankey" default n help - usage: test_scankey + usage: demo_scankey Move a letter around the screen. Hit ESC to exit. */ -#define FOR_test_scankey +#define FOR_demo_scankey #include "toys.h" -void test_scankey_main(void) +void demo_scankey_main(void) { time_t t[2]; unsigned width, height, tick; -- cgit v1.2.3