aboutsummaryrefslogtreecommitdiff
path: root/demo.c
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2011-03-31 11:08:43 +0100
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2011-03-31 11:08:43 +0100
commit26ef76349e5c009740baa985cb16963e79d13765 (patch)
tree7718ebe596e8826e431b311648bd0b2591428d41 /demo.c
parent280047e745a61f455987fccf74e4a23fda4afef2 (diff)
downloadtermo-26ef76349e5c009740baa985cb16963e79d13765.tar.gz
termo-26ef76349e5c009740baa985cb16963e79d13765.tar.xz
termo-26ef76349e5c009740baa985cb16963e79d13765.zip
Renamed snprint_key() to strfkey(); provide redirection trampoline
Diffstat (limited to 'demo.c')
-rw-r--r--demo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo.c b/demo.c
index 290327d..4df859a 100644
--- a/demo.c
+++ b/demo.c
@@ -44,7 +44,7 @@ int main(int argc, char *argv[])
printf("\e[?%dhMouse mode active\n", mouse);
while((ret = termkey_waitkey(tk, &key)) != TERMKEY_RES_EOF) {
- termkey_snprint_key(tk, buffer, sizeof buffer, &key, format);
+ termkey_strfkey(tk, buffer, sizeof buffer, &key, format);
printf("%s\n", buffer);
if(key.type == TERMKEY_TYPE_UNICODE &&