Return to xterm-keys.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.11, 2013/03/22 10:30:04 | version 1.12, 2014/01/31 11:20:28 | ||
---|---|---|---|
|
|
||
do { | do { | ||
if (*template != '_' && buf[pos] != *template) | if (*template != '_' && buf[pos] != *template) | ||
return (-1); | return (-1); | ||
} while (pos++ != len && *++template != '\0'); | } while (*++template != '\0' && ++pos != len); | ||
if (*template != '\0') /* partial */ | if (*template != '\0') /* partial */ | ||
return (1); | return (1); |