summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/input.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2012-01-21 08:12:03 +0000
committernicm <nicm@openbsd.org>2012-01-21 08:12:03 +0000
commit78a50ec3d8511450f081968cd40d20cc5614ba31 (patch)
tree2fda710a21a1a896c7cd7414702fd5683aa782f3 /usr.bin/tmux/input.c
parentAdd a -R flag to send-keys to reset the terminal. Written ages ago and (diff)
downloadwireguard-openbsd-78a50ec3d8511450f081968cd40d20cc5614ba31.tar.xz
wireguard-openbsd-78a50ec3d8511450f081968cd40d20cc5614ba31.zip
One day I will actually fix ALL the warnings before I commit...
Diffstat (limited to 'usr.bin/tmux/input.c')
-rw-r--r--usr.bin/tmux/input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/input.c b/usr.bin/tmux/input.c
index afc16d5099d..519056cc54c 100644
--- a/usr.bin/tmux/input.c
+++ b/usr.bin/tmux/input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: input.c,v 1.45 2012/01/21 08:10:21 nicm Exp $ */
+/* $OpenBSD: input.c,v 1.46 2012/01/21 08:12:03 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -978,7 +978,7 @@ input_esc_dispatch(struct input_ctx *ictx)
ictx->old_cx = 0;
ictx->old_cy = 0;
- screen_write_reset(sctx->s);
+ screen_write_reset(sctx);
break;
case INPUT_ESC_IND:
screen_write_linefeed(sctx, 0);