aboutsummaryrefslogtreecommitdiff
path: root/demo.c
diff options
context:
space:
mode:
Diffstat (limited to 'demo.c')
-rw-r--r--demo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demo.c b/demo.c
index 1b148b5..ed34d31 100644
--- a/demo.c
+++ b/demo.c
@@ -45,7 +45,7 @@ int main(int argc, char *argv[])
TermKeyKey key;
if(mouse)
- printf("\e[?%dhMouse mode active\n", mouse);
+ printf("\033[?%dhMouse mode active\n", mouse);
while((ret = termkey_waitkey(tk, &key)) != TERMKEY_RES_EOF) {
if(ret == TERMKEY_RES_KEY) {
@@ -67,7 +67,7 @@ int main(int argc, char *argv[])
}
if(mouse)
- printf("\e[?%dlMouse mode deactivated\n", mouse);
+ printf("\033[?%dlMouse mode deactivated\n", mouse);
termkey_destroy(tk);
}