diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2011-03-31 11:08:43 +0100 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2011-03-31 11:08:43 +0100 |
commit | 26ef76349e5c009740baa985cb16963e79d13765 (patch) | |
tree | 7718ebe596e8826e431b311648bd0b2591428d41 /demo-async.c | |
parent | 280047e745a61f455987fccf74e4a23fda4afef2 (diff) | |
download | termo-26ef76349e5c009740baa985cb16963e79d13765.tar.gz termo-26ef76349e5c009740baa985cb16963e79d13765.tar.xz termo-26ef76349e5c009740baa985cb16963e79d13765.zip |
Renamed snprint_key() to strfkey(); provide redirection trampoline
Diffstat (limited to 'demo-async.c')
-rw-r--r-- | demo-async.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demo-async.c b/demo-async.c index 9b48434..dd869a8 100644 --- a/demo-async.c +++ b/demo-async.c @@ -6,7 +6,7 @@ static void on_key(TermKey *tk, TermKeyKey *key) { char buffer[50]; - termkey_snprint_key(tk, buffer, sizeof buffer, key, TERMKEY_FORMAT_VIM); + termkey_strfkey(tk, buffer, sizeof buffer, key, TERMKEY_FORMAT_VIM); printf("%s\n", buffer); } |