aboutsummaryrefslogtreecommitdiff
path: root/search.c
diff options
context:
space:
mode:
Diffstat (limited to 'search.c')
-rw-r--r--search.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/search.c b/search.c
index 6eef411c..408c08bd 100644
--- a/search.c
+++ b/search.c
@@ -51,6 +51,7 @@ search_cancel_keep_selection(struct terminal *term)
term->search.match = (struct coord){-1, -1};
term->search.match_len = 0;
term->is_searching = false;
+ term->render.search_offset = 0;
term_xcursor_update(term);
render_refresh(term);