about summary refs log tree commit diff stats
path: root/source_edit.lua
diff options
context:
space:
mode:
Diffstat (limited to 'source_edit.lua')
-rw-r--r--source_edit.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/source_edit.lua b/source_edit.lua
index 85bb463..e17f2f2 100644
--- a/source_edit.lua
+++ b/source_edit.lua
@@ -318,6 +318,7 @@ function edit.keychord_press(State, chord, key)
     Text.delete_selection(State, State.left, State.right)
   end
   if State.search_term then
+    for _,line_cache in ipairs(State.line_cache) do line_cache.starty = nil end  -- just in case we scroll
     if chord == 'escape' then
       State.search_term = nil
       State.search_text = nil