summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/screen-write.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2013-05-15 15:32:14 +0000
committernicm <nicm@openbsd.org>2013-05-15 15:32:14 +0000
commitde9a666fd08e304fae682886a2a5a49c25a7588f (patch)
tree0b59e0e18be957c46f52ac62d1248651abc676fd /usr.bin/tmux/screen-write.c
parenttypo: compare len against null needle, not haystack (diff)
downloadwireguard-openbsd-de9a666fd08e304fae682886a2a5a49c25a7588f.tar.xz
wireguard-openbsd-de9a666fd08e304fae682886a2a5a49c25a7588f.zip
RIS should reset focus reporting, from Hayaki Saito.
Diffstat (limited to 'usr.bin/tmux/screen-write.c')
-rw-r--r--usr.bin/tmux/screen-write.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/screen-write.c b/usr.bin/tmux/screen-write.c
index 08616ccc6c5..599472f938d 100644
--- a/usr.bin/tmux/screen-write.c
+++ b/usr.bin/tmux/screen-write.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: screen-write.c,v 1.66 2013/03/27 11:19:19 nicm Exp $ */
+/* $OpenBSD: screen-write.c,v 1.67 2013/05/15 15:32:14 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -56,7 +56,7 @@ screen_write_reset(struct screen_write_ctx *ctx)
screen_reset_tabs(s);
screen_write_scrollregion(ctx, 0, screen_size_y(s) - 1);
- s->mode &= ~(MODE_INSERT|MODE_KCURSOR|MODE_KKEYPAD);
+ s->mode &= ~(MODE_INSERT|MODE_KCURSOR|MODE_KKEYPAD|MODE_FOCUSON);
s->mode &= ~(ALL_MOUSE_MODES|MODE_MOUSE_UTF8|MODE_MOUSE_SGR);
screen_write_clearscreen(ctx);