Return to cmd-list-keys.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.11, 2009/12/03 22:50:10 | version 1.12, 2010/10/20 18:20:36 | ||
---|---|---|---|
|
|
||
if (used >= sizeof tmp) | if (used >= sizeof tmp) | ||
continue; | continue; | ||
} | } | ||
if (bd->can_repeat) { | |||
used = strlcat(tmp, "(repeat) ", sizeof tmp); | |||
if (used >= sizeof tmp) | |||
continue; | |||
} | |||
cmd_list_print(bd->cmdlist, tmp + used, (sizeof tmp) - used); | cmd_list_print(bd->cmdlist, tmp + used, (sizeof tmp) - used); | ||
ctx->print(ctx, "%s", tmp); | ctx->print(ctx, "%s", tmp); | ||
} | } |