logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

termkey_get_keyname - return a string name for a symbolic key

Description

termkey_get_keyname()  returns  a human-readable string name for the symbolic key value given by sym. The
       returned string is owned by the termkey(7) instance tk so should not be modified or freed.  The  returned
       pointer  is guaranteed to be valid until the instance is released using termkey_destroy(3). This function
       is the inverse of termkey_keyname2sym(3).

Name

       termkey_get_keyname - return a string name for a symbolic key

Return Value

termkey_get_key() returns a pointer to a string.

See Also

termkey_lookup_keyname(3), termkey_keyname2sym(3), termkey_strfkey(3), termkey(7)

                                                                                          TERMKEY_GET_KEYNAME(3)

Synopsis

#include<termkey.h>constchar*termkey_get_keyname(TermKey*tk,TermKeySymsym);

       Link with -ltermkey.

See Also