Change searching to behave more like emacs and so that regex searching

doesn't overlap when searching forwards.
This commit is contained in:
nicm
2020-08-05 09:11:09 +00:00
parent 82c65e3f37
commit df7fbcd7a5
2 changed files with 69 additions and 52 deletions

View File

@ -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. */