summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/server-client.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2020-08-05 09:11:10 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2020-08-05 09:11:10 +0000
commit314fd33e70d6342d2f3baa39c47196499a17f919 (patch)
tree2d80fd8ea1ec5e5d7ea5de74dce89f8816347e2a /usr.bin/tmux/server-client.c
parent326d20f33529c2349cf8eb3055dff364c8511632 (diff)
Change searching to behave more like emacs and so that regex searching
doesn't overlap when searching forwards.
Diffstat (limited to 'usr.bin/tmux/server-client.c')
-rw-r--r--usr.bin/tmux/server-client.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/tmux/server-client.c b/usr.bin/tmux/server-client.c
index 34c0ee42b3f..b997a4d30c7 100644
--- a/usr.bin/tmux/server-client.c
+++ b/usr.bin/tmux/server-client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server-client.c,v 1.359 2020/07/06 09:14:20 nicm Exp $ */
+/* $OpenBSD: server-client.c,v 1.360 2020/08/05 09:11:09 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1662,8 +1662,6 @@ server_client_reset_state(struct client *c)
s = wp->screen;
if (s != NULL)
mode = s->mode;
- if (c->prompt_string != NULL || c->message_string != NULL)
- mode &= ~MODE_CURSOR;
log_debug("%s: client %s mode %x", __func__, c->name, mode);
/* Reset region and margin. */