aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-07-13 20:01:08 +0100
committerThomas Adam <thomas@xteddy.org>2015-07-13 20:01:08 +0100
commitdcc28434f460f637976ca313e062c0728d438e97 (patch)
tree30fdfe86f2f46bd5425ac870d34d4e983f73be5c /input.c
parent07aef385910f46e09804756231ff1ef3e304e023 (diff)
parent8dcea2cc14448494d25a6a68618ae7088bef1b95 (diff)
downloadrtmux-dcc28434f460f637976ca313e062c0728d438e97.tar.gz
rtmux-dcc28434f460f637976ca313e062c0728d438e97.tar.bz2
rtmux-dcc28434f460f637976ca313e062c0728d438e97.zip
Merge branch 'obsd-master'
Diffstat (limited to 'input.c')
-rw-r--r--input.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/input.c b/input.c
index d1ff17fe..095816c3 100644
--- a/input.c
+++ b/input.c
@@ -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);