diff options
author | nicm <nicm> | 2015-07-13 18:45:18 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-07-13 18:45:18 +0000 |
commit | 8dcea2cc14448494d25a6a68618ae7088bef1b95 (patch) | |
tree | ceddd9d13bb005a3f858ee44d448ff0e89d7558b /input.c | |
parent | 4e637b1b610f93d474a60daa4ab78afef66b29bc (diff) |
Reset G0/G1 state when resetting everything else with send-keys -R.
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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); |