version 1.105, 2013/07/05 14:38:22 |
version 1.106, 2013/07/05 14:41:36 |
|
|
off = 0; |
off = 0; |
|
|
memcpy(&gc, &grid_default_cell, sizeof gc); |
memcpy(&gc, &grid_default_cell, sizeof gc); |
|
|
/* Change colours for command mode. */ |
/* Change colours for command mode. */ |
if (c->prompt_mdata.mode == 1) { |
if (c->prompt_mdata.mode == 1) { |
colour_set_fg(&gc, options_get_number(&s->options, "message-command-fg")); |
colour_set_fg(&gc, options_get_number(&s->options, "message-command-fg")); |
|
|
if (strchr(wsep, c->prompt_buffer[c->prompt_index])) |
if (strchr(wsep, c->prompt_buffer[c->prompt_index])) |
break; |
break; |
} |
} |
|
|
|
/* Back up to the end-of-word like vi. */ |
|
if (options_get_number(oo, "status-keys") == MODEKEY_VI && |
|
c->prompt_index != 0) |
|
c->prompt_index--; |
|
|
c->flags |= CLIENT_STATUS; |
c->flags |= CLIENT_STATUS; |
break; |
break; |