aboutsummaryrefslogtreecommitdiff
path: root/demo-async.c
diff options
context:
space:
mode:
Diffstat (limited to 'demo-async.c')
-rw-r--r--demo-async.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/demo-async.c b/demo-async.c
index 0ac9f27..2574faa 100644
--- a/demo-async.c
+++ b/demo-async.c
@@ -10,7 +10,8 @@ static void on_key(termkey_t *tk, termkey_key *key)
printf("%s\n", buffer);
}
-int main(int argc, char *argv[]) {
+int main(int argc, char *argv[])
+{
TERMKEY_CHECK_VERSION;
termkey_t *tk = termkey_new(0, 0);