Return to status.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.100, 2013/03/22 10:31:22 | version 1.101, 2013/03/22 15:52:40 | ||
---|---|---|---|
|
|
||
size_t size, n, off, idx; | size_t size, n, off, idx; | ||
size = strlen(c->prompt_buffer); | size = strlen(c->prompt_buffer); | ||
switch (mode_key_lookup(&c->prompt_mdata, key)) { | switch (mode_key_lookup(&c->prompt_mdata, key, NULL)) { | ||
case MODEKEYEDIT_CURSORLEFT: | case MODEKEYEDIT_CURSORLEFT: | ||
if (c->prompt_index > 0) { | if (c->prompt_index > 0) { | ||
c->prompt_index--; | c->prompt_index--; |