version 1.19, 2015/04/19 21:34:21 |
version 1.20, 2015/05/08 16:18:04 |
|
|
struct mouse_event *m = &cmdq->item->mouse; |
struct mouse_event *m = &cmdq->item->mouse; |
struct window_pane *wp; |
struct window_pane *wp; |
struct session *s; |
struct session *s; |
struct input_ctx *ictx; |
|
const u_char *str; |
const u_char *str; |
int i, key; |
int i, key; |
|
|
|
|
return (CMD_RETURN_NORMAL); |
return (CMD_RETURN_NORMAL); |
} |
} |
|
|
if (args_has(args, 'R')) { |
if (args_has(args, 'R')) |
ictx = &wp->ictx; |
input_reset(wp); |
|
|
memcpy(&ictx->cell, &grid_default_cell, sizeof ictx->cell); |
|
memcpy(&ictx->old_cell, &ictx->cell, sizeof ictx->old_cell); |
|
ictx->old_cx = 0; |
|
ictx->old_cy = 0; |
|
|
|
if (wp->mode == NULL) |
|
screen_write_start(&ictx->ctx, wp, &wp->base); |
|
else |
|
screen_write_start(&ictx->ctx, NULL, &wp->base); |
|
screen_write_reset(&ictx->ctx); |
|
screen_write_stop(&ictx->ctx); |
|
} |
|
|
|
for (i = 0; i < args->argc; i++) { |
for (i = 0; i < args->argc; i++) { |
str = args->argv[i]; |
str = args->argv[i]; |