From c79ecefe73105a9c9260bd1f9e83711d14819492 Mon Sep 17 00:00:00 2001 From: Kalle Olavi Niemitalo Date: Sun, 13 Aug 2006 15:41:34 +0300 Subject: [PATCH] doc: Document parse_keystroke(). --- src/config/kbdbind.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/config/kbdbind.c b/src/config/kbdbind.c index c630c12c0..d8d597d8d 100644 --- a/src/config/kbdbind.c +++ b/src/config/kbdbind.c @@ -369,6 +369,9 @@ read_key(const unsigned char *key_str) return KBD_UNDEF; } +/* Parse the string @s as the name of a keystroke. + * Write the parsed key and modifiers to *@kbd. + * Return >=0 on success, <0 on error. */ int parse_keystroke(const unsigned char *s, struct term_event_keyboard *kbd) {