Reset G0/G1 state when resetting everything else with send-keys -R.

pull/1165/head
nicm 2015-07-13 18:45:18 +00:00
parent 4e637b1b61
commit 8dcea2cc14
1 changed files with 1 additions and 4 deletions

View File

@ -801,10 +801,7 @@ input_reset(struct window_pane *wp)
{
struct input_ctx *ictx = wp->ictx;
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;
input_reset_cell(ictx);
if (wp->mode == NULL)
screen_write_start(&ictx->ctx, wp, &wp->base);